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

Problem: usage of key and secret for bucket configuration is ambiguous #1017

Open
jraddaoui opened this issue Sep 6, 2024 · 0 comments
Open

Comments

@jraddaoui
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

There are a few places where we set up bucket configuration:

  • Watcher
  • Internal location
  • Upload bucket
  • Failed buckets

Also in the location configuration stored as JSON in the storage database.

We use "key" and "secret" to configure the credentials, while AWS calls them "Access Key ID" and "Secret Access Key" and MinIO uses "access key" and "secret key".

Describe the solution you'd like

It looks like @sevein already noticed this issue in the https://github.com/artefactual-labs/gotools repository, where we are using AccessKey and SecretKey in the config struct.

https://pkg.go.dev/go.artefactual.dev/tools@v0.16.0/bucket

I'd like to follow that pattern wherever possible.

Additional context

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

No branches or pull requests

1 participant