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

aws credentials on the GTFS jupyterhub #54

Open
keewis opened this issue Aug 19, 2024 · 1 comment
Open

aws credentials on the GTFS jupyterhub #54

keewis opened this issue Aug 19, 2024 · 1 comment

Comments

@keewis
Copy link

keewis commented Aug 19, 2024

In the s3_CMEMS_3D_kerchunk notebook, the first section says:

Credentials are stored in the gfts profile in your ~/.aws/credentials. This file is generated automatically on GFTS Jupyterhub.

You can view them with ~/.aws/credentials.

You should have read and write permissions to the bucket, but not delete

However, for me at least, that was not the case. Instead, the keys are set as environment variables, so I had to create the file myself.

For reference, this appears to be the description of the .aws/credentials file: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#shared-credentials-file

@keewis
Copy link
Author

keewis commented Aug 20, 2024

I should also mention that the rclone command only works on jupyterhub because the aws credentials are set as environment variables, to get that to work without the environment variables you'd have to call

rclone --s3-profile gfts copy ...

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

1 participant