@apr/ssts
v1.0.5
Published
Simple STS
Downloads
53
Readme
Install
Needs NodeJS 6.10.3 or later.
npm install -g @apr/ssts
Config file
For Linux/Mac:
/etc/sstsrc.json
$HOME/.sstsrc.json
$HOME/.config/sstsrc.json
For Windows:
%USERPROFILE%/.sstsrc.json
%USERPROFILE%/.config/sstsrc.json
{
"credentials": {
"accessKeyId": "ACCESS_KEY",
"secretAccessKey": "SECRET_ACCESS_KEY",
"mfaSerial": "MFA_ARN"
},
"roles": [
{
"path": "/dev",
"arn": "ROLE_ARN"
}
]
}
Environment variable
Then set $AWS_CONTAINER_CREDENTIALS_FULL_URI
to http://localhost:9888/dev
Master credentials
/master
route is now reserved
If you application is supposed to assume different roles at runtime you can use
ssts /master yourapp