https://github.com/jcmfernandes/aws-google-sts-cli
AWS IAM credentials from STS with your Google account made easy!
https://github.com/jcmfernandes/aws-google-sts-cli
aws google iam sts
Last synced: about 2 months ago
JSON representation
AWS IAM credentials from STS with your Google account made easy!
- Host: GitHub
- URL: https://github.com/jcmfernandes/aws-google-sts-cli
- Owner: jcmfernandes
- License: gpl-3.0
- Created: 2019-01-28T14:58:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-02T13:09:22.000Z (about 7 years ago)
- Last Synced: 2025-03-29T04:35:19.035Z (about 1 year ago)
- Topics: aws, google, iam, sts
- Language: Ruby
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aws-google-sts-cli
## Description
AWS IAM credentials from STS with your Google account made easy!
## Installation
```
$ sudo bash -c "curl -o /usr/local/bin/aws-google-sts-cli https://raw.githubusercontent.com/jcmfernandes/aws-google-sts-cli/master/aws-google-sts-cli && chmod +x /usr/local/bin/aws-google-sts-cli"
```
## Requirements
* Ruby >= 2.4
* geckodriver (if you use Firefox)
* ChromeDriver (if you use Chrome)
## Usage
```
$ aws-google-sts-cli --help
Usage: aws-google-sts-cli [options]
--browser BROWSER The browser (chrome or firefox)
--browser-profile [BROWSER_PROFILE]
The browser profile (firefox default: default / chrome default: your OS default)
--idpid IDPID The SAML IDPID
--spid SPID The SAML SPID
--aws-region AWS_REGION The AWS region
--aws-arn AWS_ARN The AWS ARN (performs a partial match)
--aws-cli-profile [AWS_CLI_PROFILE]
The AWS CLI profile (default: default)
--google-email [GOOLE_EMAIL] The google email, necessary when you have multiple accounts
-h, --help Prints this help
```
## Known Issues
* Chrome support is fairly weak at this point (yes, I'm a Firefox user). Sometimes it works, sometimes it doesn't. It seems like Chrome is always launched with a separate profile. And I was never able to make it work in headless mode. PRs are welcome!