Skip to content

Commit 1a5c7f1

Browse files
authored
feat(init): consider secret-key as sensitive in prompt (#3681)
1 parent e07b7e0 commit 1a5c7f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/namespaces/init/prompt.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ func promptSecretKey(ctx context.Context) (string, error) {
141141
}
142142
return terminal.Style(fmt.Sprintf("Enter a valid %s: ", secretKey), color.Bold)
143143
},
144+
Password: true,
144145
ValidateFunc: func(s string) error {
145146
if validation.IsSecretKey(s) {
146147
return nil

0 commit comments

Comments
 (0)