← 返回命令列表

Linux command

aws-sso 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Log in

aws sso login --profile [profile-name]

Log out

aws sso logout

List AWS accounts

aws sso list-accounts --access-token [token]

List roles

aws sso list-account-roles --account-id [account-id] --access-token [token]

Get temporary credentials

aws sso get-role-credentials --account-id [account-id] --role-name [role-name] --access-token [token]

Configure an SSO profile

aws configure sso

说明

aws sso is the AWS CLI interface for AWS IAM Identity Center (formerly AWS Single Sign-On), enabling federated access to AWS accounts and applications through a centralized identity source. The SSO commands allow users to authenticate once and access multiple AWS accounts and applications without managing separate credentials for each account.

FAQ

What is the aws-sso command used for?

aws sso is the AWS CLI interface for AWS IAM Identity Center (formerly AWS Single Sign-On), enabling federated access to AWS accounts and applications through a centralized identity source. The SSO commands allow users to authenticate once and access multiple AWS accounts and applications without managing separate credentials for each account.

How do I run a basic aws-sso example?

Run `aws sso login --profile [profile-name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more aws-sso examples?

This page includes 6 examples for aws-sso, plus related commands for nearby Linux tasks.