This website collects cookies to deliver better user experience
[NodeJs/AWS] Self-reload SSO keys in credentials file
[NodeJs/AWS] Self-reload SSO keys in credentials file
AWS SSO Credentials Script
Hello everyone! I just wanted to share a script i made in Nodejs using the V3 AWS Sdk for javascript.
This is a script to (almost)automatically update your local credentials file.
I say almost because at some point you'll need to click a button (or two in the worst scenario).
Motivation
The SSO credentials expires every day, so I did not want to update this file manually. This script is very useful when you have a lot of accounts/roles in your organization.