[CONJ-952] Aurora IAM credentialType=AWS-IAM - Access denied for user (using password: YES) Created: 2022-03-31 Updated: 2022-08-16 |
|
| Status: | Open |
| Project: | MariaDB Connector/J |
| Component/s: | aurora |
| Affects Version/s: | 2.7.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Liju | Assignee: | Diego Dupin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Java 11, Hikari Connection Pool, AWS |
||
| Description |
|
We use MariaDB driver 2.7.3 & Hikari Datasource in the Java 11 application to connect to the AWS Aurora database. Intermittently we are getting Access denied to user credentialType=AWS-IAM will use the RDS token as the password. From the error message, it looks like the expired token is used to get a database connection by the MariaDB driver. Can you please check if this is a bug in the MariaDB driver? Let us know if there is anything else we need to do from an application end? These are the properties set from the application. spring.datasource.driver-class-name=org.mariadb.jdbc.Driver |
| Comments |
| Comment by Liju [ 2022-04-01 ] |
|
Any suggestions on this issue ? |
| Comment by Diego Dupin [ 2022-08-16 ] |
|
I cannot tell, java connector use a 10 TTL cache. AWS indicate that those are valid for 15 minutes. |