Add Transform to enterprise OpenAPI doc (#8746)
* add transform to gen_openapi.sh * add license
This commit is contained in:
parent
9c3e4daa33
commit
a3e5d261b5
|
@ -68,12 +68,12 @@ vault secrets enable ssh
|
|||
vault secrets enable totp
|
||||
vault secrets enable transit
|
||||
|
||||
# Enterprise backends
|
||||
VERSION=$(vault status -format=json | jq -r .version)
|
||||
|
||||
if [[ $VERSION =~ prem|ent ]]
|
||||
# Enable enterprise features
|
||||
if [[ ! -z "$VAULT_LICENSE" ]]
|
||||
then
|
||||
vault write sys/license text="$VAULT_LICENSE"
|
||||
vault secrets enable kmip
|
||||
vault secrets enable transform
|
||||
fi
|
||||
|
||||
# Output OpenAPI, optionally formatted
|
||||
|
|
Loading…
Reference in New Issue