earnest-labs / aws-sts Goto Github PK
View Code? Open in Web Editor NEWGeneration of AWS STS tokens via SAML authentication.
Generation of AWS STS tokens via SAML authentication.
My config.json
is:
{
"awsConfigPath": "/.aws/credentials",
"outputFormat": "json",
"region": "us-west-1",
"provider": "okta",
"accounts": {
"development": {
"accountNumber": "NICETRY",
"idpEntryUrl": "https://myorg.okta.com/home/amazon_aws/somestuff/numbers"
}
},
"defaultAccount": "development"
}
But when I run it, I get an error:
Earnest AWS Token Generator
? Okta username (ex. [email protected]): [email protected]
? Okta password: ********************
◠ Logging in...goto: `url` must be a non-empty string
I've spent too long now trying to get a Google for Work SAML provider working with this.
Using docs on the web, I was able to get SSO going without too much trouble and can use it to open the AWS console from a real browser, but I just haven't been able to get Nightmare to be able to do the full authentication path.
I was hoping someone might be able to take a look at this non-working code and give me any tips?
Removed due to spammers.
Very cool tool!
I believe I have all the required parameters set correctly, but authentication to Okta is timing out.
I am trying to turn on headless browsing to debug, but I do not understand the directions on how to do this via the docker container.
Instructions state the following:
$ npm run start-debug
Where is this set?
Readme mentions aws-token.sh file whose link does not work. Where to find it?
AWS Token Generator used to work for me before. Since then many things have changed, including upgrading MacOS X, VirtualBox, and Docker Tools.
Here is what happens now.
I start docker and then run the following:
./aws-token.sh --username=myusername --account=myaccount
Earnest AWS Token Generator
? Okta password: ********
◡ Logging in...Cannot read property 'dispatchEvent' of null
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.