mirror of
https://github.com/minio/minio.git
synced 2025-11-07 04:42:56 -05:00
rename vault namespace env variable to be more idiomatic (#6905)
This commit renames the env variable for vault namespaces such that it begins with `MINIO_SSE_`. This is the prefix for all Minio SSE related env. variables (like KMS).
This commit is contained in:
committed by
kannappanr
parent
e7af31c2ff
commit
5549a44566
@@ -193,7 +193,7 @@ func NewVault(kmsConf KMSConfig) (KMS, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if ns, ok := os.LookupEnv("VAULT_NAMESPACE"); ok {
|
||||
if ns, ok := os.LookupEnv("MINIO_SSE_VAULT_NAMESPACE"); ok {
|
||||
c.SetNamespace(ns)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user