aws-sso
Verified for current stable LTS
Aws Sso Command: Retrieve Short Term Credentials
Use for retrieve short term credentials with Aws Sso. Exact CLI syntax to retrieve short term credentials using Aws Sso.
When to use this: Use for retrieve short term credentials with Aws Sso.
Command Syntax
aws sso get-role-credentials --account-id <account> --role-name <role> --access-token <token> aws sso get-role-credentials --account-id <account> --role-name <role> --access-token <token> Command Breakdown
--account-id- Command Option
- Tool-specific option used by this command invocation.
--role-name- Command Option
- Tool-specific option used by this command invocation.
--access-token- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to retrieve short term credentials using Aws Sso.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Aws Sso Command: End Sso Session
aws sso logout Aws Sso Command: Get Role Credentials aws sso get-role-credentials --account-id <account> --role-name <role> --access-token <token> Aws Sso Command: List Accessible Aws Accounts aws sso list-accounts Aws Sso Command: List Accessible Roles For Account aws sso list-account-roles --account-id <account> --access-token <token> Aws Sso Command: List Account Roles aws sso list-account-roles --account-id <account> --access-token <token>