Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhangyuan/aws-auth
A command line tool to authenticate with Okta for AWS credentials. (The project is not in development for now as I don't have access to okta and AWS at the moment..)
https://github.com/zhangyuan/aws-auth
aws okta
Last synced: about 1 month ago
JSON representation
A command line tool to authenticate with Okta for AWS credentials. (The project is not in development for now as I don't have access to okta and AWS at the moment..)
- Host: GitHub
- URL: https://github.com/zhangyuan/aws-auth
- Owner: zhangyuan
- License: mit
- Created: 2021-09-28T15:33:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-25T02:25:47.000Z (about 1 year ago)
- Last Synced: 2024-10-27T14:35:26.258Z (3 months ago)
- Topics: aws, okta
- Language: Rust
- Homepage:
- Size: 343 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aws-auth
`aws-auth` is a command line to get aws sts token and write it to `~/.aws/credentials` via okta authentication.
> Note: The development is in progress. Currently it only supports AWS China Ningxia (`cn-northwest-1`).
## How to use it
1. Download the binary from [releases](https://github.com/zhangyuan/aws-auth/releases) and make it executable with proper permission, or build the project and get the executable program `aws-auth`
```
cargo build --release
```2. Create the configuration file `.aws-auth.toml`, either in the same directory as `aws-auth` or in HOME directory. Example:
```
app-link = "https://yourcompanyname.okta.com/home/yourcompanyname_awschinamyapp_1/aaaaaaaaaaaaaa/bbbbbbbbbbbb"
```3. Run the command `aws-auth`, you'll be asked for username, password, mfa code, etc.