File: Change_or_add_S3_credentials.mdwn

package info (click to toggle)
git-annex 10.20230126-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 69,344 kB
  • sloc: haskell: 74,654; javascript: 9,103; sh: 1,304; makefile: 203; perl: 136; ansic: 44
file content (6 lines) | stat: -rw-r--r-- 409 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
How do I change or add S3 credentials, when a S3 special remote is already initialised/enabled?

I have a repository with a `public=yes` S3 remote, such that people can read the data without credentials.
But then when they need to upload files, how do they add their credentials?

Setting the `AWS_*` environment variables when running `git annex copy --to=s3` works, but then the credentials are not stored.