Skip to content

Commit

Permalink
chore: allow dot in credential context
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Nov 7, 2024
1 parent 266bc58 commit 61e6ded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/credentials/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func validateCredentialCtx(ctxs []string) error {
}

// check alphanumeric
r := regexp.MustCompile("^[-a-zA-Z0-9]+$")
r := regexp.MustCompile("^[-a-zA-Z0-9.]+$")
for _, c := range ctxs {
if !r.MatchString(c) {
return fmt.Errorf("credential contexts must be alphanumeric")
Expand Down

0 comments on commit 61e6ded

Please sign in to comment.