-
Notifications
You must be signed in to change notification settings - Fork 81
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
CLOUDP-186806: Move encryption at rest credentials to secrets #1045
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
nitpick, I would replace fillStructFields
by simple explicit struct assignments, I really feel it will be less code and more readable.
} | ||
|
||
err := readEncryptionAtRestSecrets(kk, service, encRest, "test") | ||
assert.NotNil(t, err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we check for a particular error or text within the error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can, but in this case it is just to check that all fields were read correctly and there are no problems with a secret data
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a nitpick question
All Submissions:
Move encryption at rest credentials to secrets
closes #XXXX
in your comment to auto-close the issue that your PR fixes (if there is one).