We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Haven't really looked into this to determine if even a remote possibility. Would be nice to use an existing AWS session somehow?
The text was updated successfully, but these errors were encountered:
@ckelner - If you're running on a machine that has an instance profile, you can query EC2s metadata service using something like this:
var metadataUrl = "http://169.254.169.254/latest/meta-data/iam/security-credentials/instance-profile"; var onComplete = function(response) { response = JSON.parse(response); var myCreds = { 'sessionId': response["AccessKeyId"], 'sessionKey': response["SecretAccessKey"], 'sessionToken': response["Token"] }; myXHRRequest(metadataUrl, onComplete);
Sorry, something went wrong.
ckelner
No branches or pull requests
Haven't really looked into this to determine if even a remote possibility. Would be nice to use an existing AWS session somehow?
The text was updated successfully, but these errors were encountered: