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 totp
|
||||||
vault secrets enable transit
|
vault secrets enable transit
|
||||||
|
|
||||||
# Enterprise backends
|
# Enable enterprise features
|
||||||
VERSION=$(vault status -format=json | jq -r .version)
|
if [[ ! -z "$VAULT_LICENSE" ]]
|
||||||
|
|
||||||
if [[ $VERSION =~ prem|ent ]]
|
|
||||||
then
|
then
|
||||||
|
vault write sys/license text="$VAULT_LICENSE"
|
||||||
vault secrets enable kmip
|
vault secrets enable kmip
|
||||||
|
vault secrets enable transform
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Output OpenAPI, optionally formatted
|
# Output OpenAPI, optionally formatted
|
||||||
|
|
Loading…
Reference in New Issue