-
Notifications
You must be signed in to change notification settings - Fork 11
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
Enable SP to retrieve and provide German umlaut chars #500
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
set -euxo pipefail | ||
|
||
create_secret_access_role | ||
|
||
create_secret_access_role_binding | ||
|
||
test_secret_is_provided "ÄäÖöÜü" "secrets/umlaut" "VARIABLE_WITH_UMLAUT_SECRET" |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,13 @@ import ( | |
) | ||
|
||
/* | ||
Client for communication with Conjur. In this project it is used only for | ||
batch secrets retrieval so we expose only this method of the client. | ||
Client for communication with Conjur. In this project it is used only for | ||
batch secrets retrieval so we expose only this method of the client. | ||
|
||
The name ConjurClient also improves readability as Client can be ambiguous. | ||
The name ConjurClient also improves readability as Client can be ambiguous. | ||
*/ | ||
type ConjurClient interface { | ||
RetrieveBatchSecrets([]string) (map[string][]byte, error) | ||
RetrieveBatchSecretsSafe([]string) (map[string][]byte, error) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are we sure it's totally safe now or are there other corner cases that might sneak in? :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Disclaimer: did not come up with the naming here. Having trouble thinking of a better variable name that distinguishes the two without getting into unseen details. Also, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh right, you're just using a different |
||
} | ||
|
||
func NewConjurClient(tokenData []byte) (ConjurClient, 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.
Do you not need an umlaut in this secret value? Or is this just a placeholder that gets replaced later on?
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.
It's a placeholder that's replaced when a test case runs [test case][CLI variable load].