Skip to content

Comments

feat: add login aws sso command#13221

Merged
czubocha merged 2 commits intomainfrom
sc-3715
Jan 8, 2026
Merged

feat: add login aws sso command#13221
czubocha merged 2 commits intomainfrom
sc-3715

Conversation

@czubocha
Copy link
Contributor

@czubocha czubocha commented Jan 8, 2026

Summary

This PR implements a new AWS SSO authentication system, integrates shared functionality into a reusable base class, updates documentation, and makes package dependency adjustments.

Main Changes:

New AWS SSO Login System:

  • Added AwsSsoLogin, a new class for handling AWS SSO authentication using the Authorization Code + PKCE flow.
  • Refactored shared functionality into AwsLoginBase for reuse between authentication implementations.
  • Introduced login-aws-sso.js runner for invoking the AWS SSO login workflow.

Documentation Updates:

  • Revamped AWS login documentation in getting-started.md and credentials.md to reflect the new "Sign in with AWS Console" workflow, deprecating long-term credentials in favor of short-lived ones.
  • Enhanced explanation of AWS SSO configuration and serverless login aws sso.

New Files:

  • aws-login-base.js, defining shared methods for login flows.
  • aws-sso-login.js, implementing specific logic for AWS SSO.
  • login-aws-sso.js, allowing CLI interaction for the new SSO login.

Dependency Updates:

  • Added @aws-sdk/client-sso-oidc to support SSO workflows.

CLI Enhancements:

  • Enhanced login commands to include sso as a subcommand for AWS SSO login.
  • Improved CLI usability with options like sso-session and aws-profile.
    This PR modernizes AWS login workflows by unifying and expanding login approaches, improving security, and enhancing developer experience.

@czubocha czubocha requested a review from eahefnawy January 8, 2026 18:07
@Mmarzex
Copy link
Contributor

Mmarzex commented Jan 8, 2026

Snyk checks have failed. 1 issues have been found so far.

Status Scanner Critical High Medium Low Total (1)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 1 0 0 1 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

eahefnawy
eahefnawy previously approved these changes Jan 8, 2026
@czubocha czubocha merged commit 4e30e50 into main Jan 8, 2026
10 checks passed
@czubocha czubocha deleted the sc-3715 branch January 8, 2026 19:02
@github-actions github-actions bot locked and limited conversation to collaborators Jan 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants