cloud-discovery
cloud-discovery copied to clipboard
How to use UseAWSRole?
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"
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
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.