-
Notifications
You must be signed in to change notification settings - Fork 105
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
Credentials for instance with AWS IAM role? #95
Comments
Can you please inspect the POST request that is failing in your browsers developer tools? It should bring you to an XML document that contains more details on why it is failing. |
The issue is that a request using temporary security credentials needs to include the session token. This fixes it. |
Okay, please help me understand this... From |
Per this doc:
|
Okay, so the |
That is my understanding, yes. |
Added `Slingshot.S3Storage.TempCredentials`.
Hi,
I'm really puzzled as to how to use Slingshot on an EC2 instance with an IAM role granting it access to S3. I have tried retrieving credentials through EC2MetadataCredentials and passing them to Slingshot, but this is ineffective ("Error: Failed to upload file to cloud storage [ - 0]").
I know that the IAM role policy is correct; I can, for example, delete items from S3 with aws-sdk without configuring additional credentials.
I may be missing something obvious or completely unrelated to Slingshot, but is this something you've gotten to work before, and if so how?
Thanks!
The text was updated successfully, but these errors were encountered: