Learn how to dynamically generate AWS IAM Users.
Required IAM Permissions
arn:aws:iam::<account-id>:user/<aws-scope-path>Replace <account id> with your AWS account id and <aws-scope-path> with a path to minimize managing user access.
Self-Hosted Instance
Create an IAM User
Create an Inline Policy
Obtain the IAM User Credentials
Set Up Connection Keys
Create the Managing User IAM Role for Infisical
Copy the AWS IAM Role ARN
Secret Overview Dashboard
Click on the 'Add Dynamic Secret' button
Select AWS IAM
Provide the inputs for dynamic secret parameters
{{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 value{{randomUsername}}
: Random username string{{unixTimestamp}}
: Current Unix timestampClick 'Submit'
Generate dynamic secrets
Submit
button, a new secret lease will be generated and the credentials for it will be shown to you.