Home icon

AWS Command Line Interface adds PKCE-based authorization for single sign-on

News



The article discusses a new feature added to the AWS Command Line Interface (AWS CLI) v2 that supports OAuth 2.0 authorization code flows using the Proof Key for Code Exchange (PKCE) standard. This provides a simple and secure way to retrieve credentials for AWS CLI commands.

Specifically, the article covers:

  • The AWS CLI is a tool for controlling multiple AWS services from the command line and automating them through scripts.
  • AWS CLI v2 offers integration with AWS IAM Identity Center, the recommended service for managing workforce access to AWS applications and multiple AWS accounts.
  • The authorization code flow with PKCE is the recommended best practice for accessing AWS resources from desktops and mobile devices with web browsers.
  • It is now the default behavior when running the aws sso login or aws configure sso commands.
  • More information and documentation links are provided for configuring IAM Identity Center authentication with the AWS CLI.


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Nov 18
2024
AWS CLI Adds PKCE-based Authorization for SSO
Nov 22
2024
Amazon Cognito now supports passwordless authentication for low-friction and secure logins
Nov 15
2024
Secure by Design: AWS enhances centralized security controls as MFA requirements expand
Oct 23
2024
AWS IAM Identity Center simplifies calls to AWS services with single identity context

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.