Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkg/proxy/backup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ func TestSetEnv_AcceptsAllowlistedCredentials(t *testing.T) {
"AWS_ENDPOINTS",
"AWS_CERT",
"VIRTUAL_HOSTED_STYLE",
"AWS_SIGN_ACCEPT_ENCODING",
"CIFS_USERNAME",
"CIFS_PASSWORD",
"AZBLOB_ACCOUNT_NAME",
Expand Down
4 changes: 4 additions & 0 deletions pkg/proxy/env_allowlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ var backupEnvAllowlist = map[string]struct{}{
btypes.AWSCert: {},
btypes.VirtualHostedStyle: {},

// Selects whether Accept-Encoding is part of the SigV4 signature. It is a
// signing option, not a credential, and carries no secret.
btypes.AWSSignAcceptEncoding: {},

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't compile when I opened this. backupstore#316 merged as 12a1fc975d8f, so I bumped and re-vendored in 210d947.

make validate and the test stage both pass in the container, pkg/proxy included. Diff is go.mod, go.sum, vendor/modules.txt and the three backupstore files.


// CIFS
btypes.CIFSUsername: {},
btypes.CIFSPassword: {},
Expand Down