Comments (3)
We are unlikely to add this, since we don't want to encourage our developers to keep plaintext credentials. You may be able to work around this for your use case by doing:
$ aws-okta exec <your-profile> -- env
Then pulling the appropriate key/secret/security token from that output.
from aws-okta.
I stand by entirely what @dfuentes wrote, but just to extend his answer a little bit, I ended up doing this:
$ eval $(aws-okta exec dev-okta -- env | grep AWS - | sed 's/^/export /')
$ aws s3 ls
2018-07-09 10:54:16 sample-bucket
2018-06-22 16:12:37 random-bucket
You could even take this one step further and add that to your .bash_profile
, etc.:
function expose_aws_creds() {
eval $(aws-okta exec $1 -- env | grep AWS - | sed 's/^/export /')
}
Then just do:
$ expose_aws_creds dev-okta
$ aws s3 ls
That way you can easily swap between different profiles.
from aws-okta.
Ya, to make it easier I moved to a different tool that supports this workflow.
from aws-okta.
Related Issues (20)
- `go test` flaps a change in `go.mod` HOT 1
- Cut v2.0.0 HOT 1
- TouchID instead of password when prompted for keychain access HOT 2
- Support for ADFS? HOT 1
- Add release for debian/buster HOT 1
- How can I prompt for password without a tty? HOT 1
- ATTENTION: aws-okta is on indefinite hiatus HOT 36
- aws-okta 1.0.0 breaks with multiple profiles HOT 17
- DUO requires enabling "OtherOS" when using aws-okta HOT 1
- can i make this work with mulesoft fabric HOT 2
- docs: Generate docs and publish to GitHub Pages HOT 1
- panic: runtime error: slice bounds out of range [308:282] HOT 2
- aws-okta for windows not updating ~/.aws/credentials file HOT 2
- aws-okta failed duo challenge HOT 6
- Getting "Enter passphrase to unlock /home/XXX/.aws-okta/" message when using aws-okta exec HOT 1
- aws-okta add giving: "Failed to validate credentials" with Correct credentials HOT 1
- Intermittent SAML and 2FA Push Notification Timeouts from Okta HOT 14
- The latest release does not have built binaries for any platform HOT 5
- Passphrase Request should be suppressed when not entered during profile setup HOT 2
- 1.0.8 mfa push fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-okta.