aws-sso Verified for current stable LTS

Aws Sso Command: Get Role Credentials

An engineer would use the 'aws sso get-role-credentials' command when they need to retrieve temporary security credentials for a specific role in a given AWS account after authenticating with AWS Single Sign-On. Exact CLI syntax to get role credentials using Aws Sso.

When to use this: An engineer would use the 'aws sso get-role-credentials' command when they need to retrieve temporary security credentials for a specific role in a given AWS account after authenticating with AWS Single Sign-On.

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 get role 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

Back to Aws Sso directory