question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

With default setting by aws-adfs, I can’t download files from s3 buckets.

$ aws s3 cp s3://xxx/xxx.yml xxx.yml

download failed: s3://xxx/xxx.yml to xxx.yml An error occurred (InvalidArgument) when calling the GetObject operation: Requests specifying Server Side Encryption with AWS KMS managed keys require AWS Signature Version 4. You can enable AWS Signature Version 4 by running the command: aws configure set s3.signature_version s3v4

After run aws configure set s3.signature_version s3v4

Below lines are added to ~/.aws/config

s3 =
    signature_version = s3v4

So if I aws-adfs reset and aws-adfs login again, I lost the s3 setting in config file.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
venthcommented, Mar 5, 2017

Released with version: 0.2.3

0reactions
venthcommented, Mar 15, 2017

@SydOps I think it’s rather related to way how boto is working, since the configuration is read by this library. aws-adfs just appends configuration and nothing more.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using server-side encryption with AWS Key Management ...
When you use an AWS KMS key for server-side encryption in Amazon S3, ... Requests (AWS Signature Version 4) and Signature Version 4...
Read more >
Requests specifying Server Side Encryption with AWS KMS ...
The error seems to be telling you to enable V4 S3 signatures on the Amazon SDK. One way to do it is from...
Read more >
Downloading S3 object encrypted using KMS keys fails with ...
... KMS keys fails with error: "Requests specifying Server Side Encryption with AWS KMS managed keys require AWS Signature Version 4" #1006.
Read more >
AWS Signature V4 needed for backup to S3 bucket encrypted ...
Hi, I'm configuring backups to s3. My S3 bucket uses SSE with AWS KMS, which requires AWS Signature Version 4, according to the...
Read more >
Requests specifying Server Side Encryption with ... - Drupal
Requests specifying Server Side Encryption with AWS KMS managed keys require AWS Signature Version 4. Closed (won't fix). Project:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found