Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting of key and secret to copy from AWS to Azure is unclear from the examples #15

Open
celloist opened this issue Oct 28, 2021 · 1 comment

Comments

@celloist
Copy link

celloist commented Oct 28, 2021

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}");

@LittleLittleCloud
Copy link
Contributor

LittleLittleCloud commented Feb 16, 2022

The current solution only supports SAS token for certification. You should be able to get a SAS token using access key ID from azure though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants