bduggan / aws-s3-raku

Raku client for AWS S3
6 stars 2 forks source link

Send (and sign,) x-amz-security-token if provided. #9

Closed jonathanstowe closed 3 years ago

jonathanstowe commented 3 years ago

If the client is using "temporary" credentials provided by the "Security Token Service" ( using, for example, Kivuli,) the security token must be provided and be part of the signed headers, otherwise the client will receive "InvalidAccessKeyId".

This is tested and found to work in an EC2 instance.

Fixes #8

bduggan commented 3 years ago

nice!