Skip to content

Commit

Permalink
fix: Do not log base64 encoded ECR token
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson committed Jun 22, 2023
1 parent 74ed430 commit 30be473
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docker/ecr/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ func RetrieveUsernameAndToken(ecrClient *ecr.Client) (username, token string, er
// guaranteed.
base64EncodedAuthorizationToken := aws.ToString(out.AuthorizationData[0].AuthorizationToken)

fmt.Printf("%q", base64EncodedAuthorizationToken)

decodedAuthorizationToken, err := base64.StdEncoding.DecodeString(base64EncodedAuthorizationToken)
if err != nil {
return "", "", err
Expand Down

0 comments on commit 30be473

Please sign in to comment.