Configurable Golang application to login to AWS CLI
- Easy to configure
- Supports multiple profiles
- Reuses token to avoid multiple logins
- Connect to the appropriate VPN
- Golang
- That's it!!
go build .
./gimme-vault configure [--profile <profile_name>]
./gimme-vault login [--profile <profile_name>]
profile flag defaults to: default
https://some_url:8200/v1/<resource>/aws_account/<action>
username = your_ldap_username
awsAccount = aws_account // 123456789012
region = aws_region // us-west-2
url = vault_addr // eg: https://some_url:8200
version = v1 // Check wiki CURL
resource = ... // Check wiki CURL
action = ... // Check wiki CURL
- Requests AWS Credentials for "240m" (240 minutes)
- Timeout errors could be due to VPN connectivity
- Configuration file is saved in home directory by default as
.gimme-vault.yaml