Skip to content

[MARLIN-882] Enable S3 Signature Version 4 for aws#37

Merged
ouranos merged 1 commit intomaestrano:1.0from
ouranos:feature/aws-s3v4
May 22, 2019
Merged

[MARLIN-882] Enable S3 Signature Version 4 for aws#37
ouranos merged 1 commit intomaestrano:1.0from
ouranos:feature/aws-s3v4

Conversation

@ouranos
Copy link
Copy Markdown
Contributor

@ouranos ouranos commented May 14, 2019

Requests specifying Server Side Encryption with AWS KMS managed keys
require AWS Signature Version 4.

Requests specifying Server Side Encryption with AWS KMS managed keys
require AWS Signature Version 4.
opts="--no-sign-request"
fi
# Setting Signature Version 4 for S3 Request Authentication
aws configure set s3.signature_version s3v4
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be aws configure set default.s3.signature_version s3v4? Took this from https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah nvm i'm thinking it's really just used when you're configuring the cli on a local machine maybe

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah if you don't specify it adds it to default, here's what's been added to the ~/.aws/config after running the command on my machine:

[default]
s3 =
    signature_version = s3v4

@ouranos ouranos merged commit a4a2287 into maestrano:1.0 May 22, 2019
@ouranos ouranos deleted the feature/aws-s3v4 branch May 22, 2019 22:30
@ouranos ouranos mentioned this pull request May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants