mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
openapi: Remove 'ad' from gen_openapi.sh
This commit is contained in:
committed by
GitHub
parent
158447554d
commit
c39579f3b3
@@ -292,9 +292,13 @@ func Test_RegistryMatchesGenOpenapi(t *testing.T) {
|
|||||||
ensureInScript := func(t *testing.T, scriptBackends []string, name string) {
|
ensureInScript := func(t *testing.T, scriptBackends []string, name string) {
|
||||||
t.Helper()
|
t.Helper()
|
||||||
|
|
||||||
// "openldap" is an alias for "ldap" secrets engine
|
for _, excluded := range []string{
|
||||||
if name == "openldap" {
|
"openldap", // alias for "ldap"
|
||||||
return
|
"ad", // consolidated into "ldap" and deprecated
|
||||||
|
} {
|
||||||
|
if name == excluded {
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if !slices.Contains(scriptBackends, name) {
|
if !slices.Contains(scriptBackends, name) {
|
||||||
|
|||||||
@@ -61,7 +61,6 @@ vault auth enable "radius"
|
|||||||
vault auth enable "userpass"
|
vault auth enable "userpass"
|
||||||
|
|
||||||
# Enable secrets plugins
|
# Enable secrets plugins
|
||||||
vault secrets enable "ad"
|
|
||||||
vault secrets enable "alicloud"
|
vault secrets enable "alicloud"
|
||||||
vault secrets enable "aws"
|
vault secrets enable "aws"
|
||||||
vault secrets enable "azure"
|
vault secrets enable "azure"
|
||||||
|
|||||||
Reference in New Issue
Block a user