Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use UseAWSRole? #11

Open
hyphus opened this issue Apr 10, 2019 · 2 comments
Open

How to use UseAWSRole? #11

hyphus opened this issue Apr 10, 2019 · 2 comments

Comments

@hyphus
Copy link

hyphus commented Apr 10, 2019

I am trying to figure out how to use this tool using either aws sts get-session-token or the UseAWSRole option but I can't seem to make this work.

Are there any examples or documentation on how use those options?

I've tried using the access keys that I get from running aws sts get-session-token as well as running curl -k -v -u admin:pass --raw --data '{"credential":[{"UseAWSRole":"True"}]}' https://localhost:9083/discover. Both result in no error logged in the container and the only relevant output I get is "curl: (52) Empty reply from server"

@liron-l
Copy link

liron-l commented Apr 11, 2019

Hi @bcheezum
This is currently no supported but see #7 on how to use start tokens.

Feel free to contribute native start support to the package

@hyphus
Copy link
Author

hyphus commented Apr 11, 2019

The issue you linked just says that it's supposed to work but there's no example of how. Looking at the code I didn't see anything that takes the session token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants