radiantearth / source-cooperative

Source Cooperative
https://beta.source.coop
39 stars 0 forks source link

[Proposed Feature] AWS Usage Instructions for Windows #29

Open m-mohr opened 7 months ago

m-mohr commented 7 months ago

Description of Feature:

The current Usage Instructions on the AWS Credentials page on Source Coop directly lists some code snippets to set env variables. They seem to be for Linux (and MacOS?).

I think I'd mention that explicitly. Or even better would be to add instructions for Windows, too.

What value is this feature adding to Source Cooperative?

Windows users have it easier.

m-mohr commented 7 months ago

I just wanted to provide a PR, but I don't see any code here?

I'd propose to add at the end:

Upload the current directory to the repository aws s3 sync . s3://us-west-2.opendata.source.coop/fiboa/de-nrw/

And env variable code for Windows PowerShell:

$Env:AWS_DEFAULT_REGION="us-west-2"
$Env:AWS_ACCESS_KEY_ID="..."
$Env:AWS_SECRET_ACCESS_KEY="..."
$Env:AWS_SESSION_TOKEN="..."