aws-vault exec <profile> <command>
Execute a command with AWS credentials
Arguments
Name | Description |
---|---|
profile | |
command |
Options
Name | Description |
---|---|
-d, --duration <DURATION> | Duration of the temporary or assume-role session. Defaults to 1h |
-n, --no-session | Use master credentials, no session or role used |
--region <REGION> | The AWS region |
-t, --mfa-token <MFA-TOKEN> | The MFA token to use |