0

Vault rotates creds and also create a user but when it creates a new user then it can’t delete the old user These are my configuration username=“user” password=“password”

vault write database/roles/mysql-role
db_name=app1
creation_statements=“CREATE USER ‘{{name}}’@’%’ IDENTIFIED BY ‘{{password}}’;GRANT SELECT ON 
app1.* TO ‘{{name}}’@’%’;”

“revocation_statements”: [
“DROP USER ‘{{name}}’@’%’;”
]
Shiva
  • 1
  • 1
  • What is the error? Did you `GRANT` Vault the rights to `DELETE USER` ? – ixe013 Feb 16 '22 at 02:28
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Feb 18 '22 at 20:24

0 Answers0