support for aws_session_token
See original GitHub issueHi, I’m using gsutil v. 4.3.1 and there isn’t any apparent support for the AWS_SESSION_TOKEN, which is a required configuration setting when working with AWS pre-signed URLs.
Use case: I’m trying to upload an object from a GCP bucket (in my account) to S3. I have been provided with an AWS pre-signed URL and corresponding credentials that include
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_SESSION_TOKEN
I have tested with these variables in the .boto file, and even in different tests as environment variables, and the response I get is “403 AccessDenied” when running my cp command that is of the form
gsutil cp gs://mybucket/obj s3://s3bucket/obj
Things work fine when not using a pre-signed URL. After lots of testing, I wanted to verify that the AWS_SESSION_TOKEN is not supported, and to request for such support.
Thanks, -Nathan
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:7 (1 by maintainers)
+1 - It would be extremely useful to be able to sync from S3 (with an STS Assumed Role) to GCS using gsutil.
Any updates on this feature?