Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noahingh/export-aws-session-token
Export aws session token from STS
https://github.com/noahingh/export-aws-session-token
Last synced: about 2 months ago
JSON representation
Export aws session token from STS
- Host: GitHub
- URL: https://github.com/noahingh/export-aws-session-token
- Owner: noahingh
- Created: 2019-01-05T17:11:55.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-05T17:30:12.000Z (about 6 years ago)
- Last Synced: 2023-08-12T06:35:48.437Z (over 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS token controller
## Why export-aws-session-token?
AWS is supporting cli MFA by session token. The command is `aws sts get-session-token --serial-number arn:aws:iam::USER-ID:mfa/USER-NAME --token-code XXXXXX`, and the output skeleton is like below. But it is bothering to copy keys, there is needs to do this boring stuff automatically.
```
{
"Credentials": {
"SecretAccessKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"SessionToken": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"Expiration": "2019-01-06T04:58:13Z",
"AccessKeyId": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
}
```## Installation
Check the [releases](./releases) for the latest version.
## Version
### version 0.1Initialize `aws-session-token` command.