diff --git a/cmd/azure-keyvault-env/environment.go b/cmd/azure-keyvault-env/environment.go index aa5f674f..3799dd9e 100644 --- a/cmd/azure-keyvault-env/environment.go +++ b/cmd/azure-keyvault-env/environment.go @@ -9,7 +9,7 @@ import ( ) const ( - envLookupRegex = `^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)@azurekeyvault(\?([a-zA-Z_][a-zA-Z0-9_\.]*)?)?$` + envLookupRegex = `^([a-zA-Z0-9]([a-zA-Z0-9-]{0,239}[a-zA-Z0-9])?)@azurekeyvault(\?([a-zA-Z_][a-zA-Z0-9_\.]*)?)?$` ) type EnvSecret struct {