You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP

pn-sso

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

pn-sso

will replace your [default] profile credentials with temporary once provided from AWS SSO

1.0.2
unpublished
latest
68

Supply Chain Security

100

Vulnerability

73

Quality

76

Maintenance

100

License

Shell access

Supply chain risk

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Found 1 instance in 1 package

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created

This CLI command will replace your [default] profile credentials with temporary once provided from AWS SSO

Bakground

It is possible to switch profile from the terminal with AWS SSO setup using the aws cli, however this will not support channels where SSO is not supported, such as Serverless.

Fix

This package will run the aws cli command and also replace the default profile in your .aws/credentials folder with the current logged in sso profile, which can then be used like normal.

How to

aws configure sso
SSO start URL [None]: https://postnord.awsapps.com/start#/
SSO Region [None]: eu-west-1
  • Login via pnsso
pnsso --profile <named profile>

Support

OSTestedWorking
MacOS Big Sur 🍎
Linux Ubuntu 🐧
Windows 🪟N/A

Notes

  • The first time you run the command it will create a backup for you credentials file, if you need to retrieve the old value of the default profile, it is located at ~/.aws/credentials_backup

FAQs

Package last updated on 08 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts