aws-sso Verified for current stable LTS

Aws Sso Command: Retrieve Short Term Credentials For Account

Use for retrieve short term credentials for account with Aws Sso. Exact CLI syntax to retrieve short term credentials for account using Aws Sso.

When to use this: Use for retrieve short term credentials for account with Aws Sso.

Command Syntax

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 for account 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

Back to Aws Sso directory