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

Fix Invalid credential in backup gateway #4077

Merged
merged 1 commit into from
Jul 22, 2020

Conversation

jaym
Copy link
Contributor

@jaym jaym commented Jul 16, 2020

minio uses the access and secret key to encrypt its config. We do
not need this. We work around this by storing those values in our
tmp directory that gets put in the folder.
Then, when we start up the backup gateway, we can check for that
file. If it exists, we tell backup-gateway that it should use those
values.
If we were not to do this, then it would be impossible to have 2
automates looking at a shared network drive.

This is a best effort thing. If the Invalid credential persists,
the best thing that can be done is to turn automate off, remove the
.tmp directory in the backups, and turn automate back on.

Signed-off-by: Jay Mundrawala jmundrawala@chef.io

@susanev susanev added the auth-team anything that needs to be on the auth team board label Jul 18, 2020
@susanev susanev added this to the Auth: Sprint 18 milestone Jul 18, 2020
minio uses the access and secret key to encrypt its config. We do
not need this. We work around this by storing those values in our
tmp directory that gets put in the folder.
Then, when we start up the backup gateway, we can check for that
file. If it exists, we tell backup-gateway that it should use those
values.
If we were not to do this, then it would be impossible to have 2
automates looking at a shared network drive.

This is a best effort thing. If the Invalid credential persists,
the best thing that can be done is to turn automate off, remove the
.tmp directory in the backups, and turn automate back on.

Signed-off-by: Jay Mundrawala <jmundrawala@chef.io>
@jaym jaym force-pushed the jdm/backup-gateway-invalid-credentials branch from 55cfcd4 to 465461a Compare July 20, 2020 11:38
@susanev susanev removed this from the Auth: Sprint 18 milestone Jul 20, 2020
@jaym jaym merged commit af3c107 into master Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth-team anything that needs to be on the auth team board
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants