Closed kperson closed 5 years ago
Hi @kperson, Checkout pull request https://github.com/swift-aws/aws-sdk-swift-core/pull/99 By the way how are you passing the session token to the PutObject command? I noticed we don't have a way to pass full Credentials to a service via a function parameter. Are you using the EnvironmentCredentials()?
@adam-fowler I am just allowing for a credential provider to be selected, it would be EnvironementCredential
(lambda sets AWS_SECRET_ACCESS_KEY, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN environment variables automatically).
It looks like your PR would resolve the issue! Thank you.
Description When executing a PutObjectRequest I receive the following error:
To Reproduce
Expected behavior
Setup
Additional context I don't have this issue with SNS or SQS, just S3.