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