aws-sso

command module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 2 Imported by: 0

README

aws-sso

Writes credentials to your ~/.aws/credentials file that were created via SSO configurations. This allows you to run old applications that rely on AccessKey/SecretKey credentials while still allowing you to get those credentials via SSO.

Installation

brew install webdestroya/tap/awssso

Usage

[!WARNING] This will be modifying your AWS credentials file. Please create a backup before using this program just in case.

Pull credentials for the listed profiles and update the credentials file

awssso sync mycompany-staging mycompany-production

Detailed help can be viewed by passing --help to any command.

Shell Alternative

You don't even need this program, you can do this entirely within the awscli itself. (Assuming your program can use environment variables instead of aws credentials file.)


# Login to your profile and get fresh credentials
aws sso login --profile something

# Set the credentials env vars
eval $(aws configure export-credentials --profile something --format env)

# Subsequent AWS commands will use the creds above
aws sts get-caller-identity

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
runners/loginrunner
This will perform the login function to a specific StartURL SSO endpoint it will then update the cached token for the StartURL and/or Name it then exits, it does not actually get role credentials
This will perform the login function to a specific StartURL SSO endpoint it will then update the cached token for the StartURL and/or Name it then exits, it does not actually get role credentials

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL