Skip to content

PredictMobile/aws-sso-credentials-getter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssocred

SSOcred is a handy cli tool that will grab temporary AWS CLI login credentials from AWS SSO and put them in ~/.aws/credentials

Why though? Tools like terraform are currently unable to handle AWS auth via SSO and rely the access key and secret being in the credentials file.

To install:
npm install -g aws-sso-credentials-getter or yarn global add aws-sso-credentials-getter

To use:
ssocred {profile}

To set credentials to a custom profilename:
ssocred {profile} -c {customProfile}

For instance when you want a default profile:
ssocred {profile} -c default

You can also set a custom profilename from any current profile that is not expired by running:
ssocred {existingProfile} -c {customProfile}

To also login to ECR:
ssocred {profile} -e

Add you can also login to a different ECR region:
ssocred {profile} -e [region]

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy