Skip to content

Commit

Permalink
Fix gosec
Browse files Browse the repository at this point in the history
  • Loading branch information
N-o-Z committed Jul 18, 2023
1 parent ec65f50 commit a54092a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .secretsignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ bPxRfiCYEXAMPLEKEY
wJalrXUtnFEMI/K3MDENG/bPxRfiCYEXAMPLEKEY
wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG

2 changes: 1 addition & 1 deletion cmd/lakefs/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func validateQuickstartEnv(cfg *config.Config) {
os.Exit(1)
}
accessKey := "AKIAIOSFOLQUICKSTART"
secretKey := "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
secretKey := "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" //nolint:gosec
cfg.Installation.UserName = "quickstart"
cfg.Installation.AccessKeyID = config.SecureString(accessKey)
cfg.Installation.SecretAccessKey = config.SecureString(secretKey)
Expand Down

0 comments on commit a54092a

Please sign in to comment.