Skip to content

Commit

Permalink
Use 253 chars for env name regex
Browse files Browse the repository at this point in the history
  • Loading branch information
abhilashjoseph committed Nov 9, 2023
1 parent 10765d9 commit 49cc1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/azure-keyvault-env/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

const (
envLookupRegex = `^([a-zA-Z0-9]([a-zA-Z0-9-]{0,239}[a-zA-Z0-9])?)@azurekeyvault(\?([a-zA-Z_][a-zA-Z0-9_\.]*)?)?$`
envLookupRegex = `^([a-zA-Z0-9]([a-zA-Z0-9-]{0,253}[a-zA-Z0-9])?)@azurekeyvault(\?([a-zA-Z_][a-zA-Z0-9_\.]*)?)?$`
)

type EnvSecret struct {
Expand Down

0 comments on commit 49cc1bf

Please sign in to comment.