Replies: 2 comments 1 reply
-
Hey! 👋 That’s a great suggestion! Adding a feature to the rotation function that automatically creates the MySQL user (if it doesn’t exist) and grants the specified permissions would make managing users and permissions in Secrets Manager much easier. With this approach, the rotation function would:
Your suggested secret format is spot-on! The additional settings like rotate_cfg_user_host for user host and rotate_cfg_grants for permissions would give more control over user creation and access levels. This feature would really help in syncing Secrets Manager with MySQL users dynamically. If this gets implemented, it would be a solid improvement for managing database credentials in a multi-environment setup. Thanks for the idea! 😊 |
Beta Was this translation helpful? Give feedback.
-
Opened #151 to investigate implementing this. There's some concerns we need to resolve internally before proceeding. For example, what happens when |
Beta Was this translation helpful? Give feedback.
-
It would be great for the rotation function to create the user if it's not existing and grant the required permissions. This would act as an operator to sync secrets manager with MySQL users.
The secret would probably require to contain some further settings, e.g.
Beta Was this translation helpful? Give feedback.
All reactions