This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Description
To copy from AWS to Azure you need to set the Access Key Id and Secret. When using cmd you can apply this before executing azcopy. How would this be done in the current solution? I could not find any tests or info om this. I am not sure how to set it. Because it seems like the command is executed before setting the variables. Or am i misunderstanding something?
This is how i used to do it executing cmd.exe from code.
process.StandardInput.WriteLine($"set AWS_ACCESS_KEY_ID={S3_ACCESS_KEY_ID}");
process.StandardInput.WriteLine($"set AWS_SECRET_ACCESS_KEY={S3_SECRET_ACCESS_KEY}");