Add Transform to enterprise OpenAPI doc (#8746)

* add transform to gen_openapi.sh

* add license
This commit is contained in:
Becca Petrin 2020-04-15 09:12:12 -07:00 committed by GitHub
parent 9c3e4daa33
commit a3e5d261b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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