Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.1

Initialize `aws-session-token` command.