snowex-hackweek / jupyterhub

jupyterhub configuration for snowex hackweek 2021
https://snowex.hackweek.io
MIT License
1 stars 0 forks source link

create snowex-user iam for s3 access #8

Closed scottyhq closed 3 years ago

scottyhq commented 3 years ago

we want tutorial developers to be able to push data to s3 from any machine

this is one solution allowing a hackweek admin to run aws --profile snowex-user sts get-session-token --duration 129600 and then post those temporary (36 hour) credentials for everyone to use.

Not ideal, but apparently users can't create their own temporary tokens from the hub (An error occurred (AccessDenied) when calling the GetSessionToken operation: Cannot call GetSessionToken with session credentials)

https://docs.aws.amazon.com/cli/latest/reference/sts/get-session-token.html