-
Notifications
You must be signed in to change notification settings - Fork 163
Open
Labels
Description
We have a need to use dynamic credentials (example: TTL: 1h; MAX_TTL: 24h) in a nodejs application. This library appear to provide access to static credentials, but it does not appear to support dynamic credentials. Please correct me if I am wrong (as I am certainly not a developer)...
- After authentication, the authentication token does not appear to be "handled" (lease renewal) automatically.
- Reading credential tokens also does not appear to pay attention to the leases.
If the authentication token or credential lease is not maintained, then Vault will revoke the credentials to the leased credential, in this case MongoDB.
Additionally, when we hit the "max" TTL, the authentication credential will need to be replaced, and there didn't appear to be any sort of "callback" mechanism to notify the rest of the application (db pool?)
Thanks,
Tommy
Reactions are currently unavailable