Does AzCopy support s3 temporary credentials workflow?

Harshanand MV 21 Reputation points
2021-12-07T00:07:28.027+00:00

Temporary Credentials s3 workflow requires us to set AWS_SESSION_TOKEN (along with AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY)

https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html

$ export AWS_ACCESS_KEY_ID=ASIAIOSFODNN7EXAMPLE
$ export AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
$ export AWS_SESSION_TOKEN=AQoDYXdzEJr...<remainder of security token>

Based on this link, I see it doesnt support the aws session token.
https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-s3?toc=/azure/storage/blobs/toc.json
Is this workflow supported? Any alternate solutions?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,202 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 38,021 Reputation points Microsoft Employee Moderator
    2021-12-07T21:13:06.583+00:00

    @Harshanand MV
    AWS_SESSION_TOKEN is not officially supported at this time, but does work. Please try it and let us know if you face any issues. Feel free to post feedback or issues related to AzCopy on the GitHub issues page. These goes directly to our AzCopy service team for review and debugging.

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.,
    https://github.com/Azure/azure-storage-azcopy/issues


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.