Description
AWS recently released a new authentication method called aws login (AWS CLI v2.32.0+) that allows developers to use their AWS Management Console credentials for programmatic access. This eliminates the need for long-term access keys.
Announcement: https://aws.amazon.com/about-aws/whats-new/2025/11/console-credentials-aws-cli-sdk-authentication/
Blog: https://aws.amazon.com/blogs/security/simplified-developer-access-to-aws-with-aws-login/
Documentation: https://docs.aws.amazon.com/signin/latest/userguide/command-line-sign-in.html
Affected Resource(s)
- AWS Provider authentication
Expected Behavior
The Terraform AWS Provider should natively recognize and use credentials generated by aws login, similar to how it currently supports AWS SSO credentials after #10851 was resolved.
Current Behavior
The provider does not recognize the new login credential type. Credentials are stored in ~/.aws/login/cache/ but Terraform cannot use them directly.
Workaround
Currently, users must configure credential_process as a bridge:
[profile my-login]
login_session = arn:aws:iam::123456789012:user/username
region = us-east-1
[profile terraform-process]
credential_process = aws configure export-credentials --profile my-login --format process
region = us-east-1
Affected Resource(s) or Data Source(s)
No response
Potential Terraform Configuration
Would you like to implement the enhancement?
No
Description
AWS recently released a new authentication method called
aws login(AWS CLI v2.32.0+) that allows developers to use their AWS Management Console credentials for programmatic access. This eliminates the need for long-term access keys.Announcement: https://aws.amazon.com/about-aws/whats-new/2025/11/console-credentials-aws-cli-sdk-authentication/
Blog: https://aws.amazon.com/blogs/security/simplified-developer-access-to-aws-with-aws-login/
Documentation: https://docs.aws.amazon.com/signin/latest/userguide/command-line-sign-in.html
Affected Resource(s)
Expected Behavior
The Terraform AWS Provider should natively recognize and use credentials generated by
aws login, similar to how it currently supports AWS SSO credentials after #10851 was resolved.Current Behavior
The provider does not recognize the new login credential type. Credentials are stored in
~/.aws/login/cache/but Terraform cannot use them directly.Workaround
Currently, users must configure
credential_processas a bridge:Affected Resource(s) or Data Source(s)
No response
Potential Terraform Configuration
Would you like to implement the enhancement?
No