Learn how to dynamically generate MySQL Database user credentials.
Open Secret Overview Dashboard
Click on the 'Add Dynamic Secret' button
Select 'SQL Database'
Provide the inputs for dynamic secret parameters
(Optional) Modify SQL Statements
{{randomUsername}}
: Random username string{{unixTimestamp}}
: Current Unix timestamp{{identity.name}}
: Name of the identity that is generating the secret{{random N}}
: Random string of N characterstruncate
: Truncates a string to a specified lengthreplace
: Replaces a substring with another valueClick `Submit`
Generate dynamic secrets
Submit
button, a new secret lease will be generated and the credentials from it will be shown to you.