mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-05 22:27:03 +02:00
updates gen_openapi script to check vault version rather than VAULT_LICENSE (#31002)
This commit is contained in:
parent
a6ab9bed1d
commit
36e26880fd
@ -89,7 +89,8 @@ vault secrets enable "totp"
|
||||
vault secrets enable "transit"
|
||||
|
||||
# Enable enterprise features
|
||||
if [[ -n "${VAULT_LICENSE:-}" ]]; then
|
||||
# Check if vault version contains +ent
|
||||
if vault version | grep -q "+ent"; then
|
||||
vault secrets enable "keymgmt"
|
||||
vault secrets enable "kmip"
|
||||
vault secrets enable "transform"
|
||||
|
Loading…
Reference in New Issue
Block a user