Learn how to dynamically generate Mongo Atlas Database user credentials.
Open Secret Overview Dashboard
Click on the 'Add Dynamic Secret' button
Select Mongo Atlas
Provide the inputs for dynamic secret parameters
atlasAdmin
backup
clusterMonitor
dbAdmin
dbAdminAnyDatabase
enableSharding
read
readAnyDatabase
readWrite
readWriteAnyDatabase
<a custom role name>
.(Optional) Modify Access Scope
{{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 for it will be shown to you.