mirror of
https://github.com/hashicorp/vault.git
synced 2025-12-08 19:11:49 +01:00
openapi: Remove pcf plugin (#20067)
This commit is contained in:
parent
7e09f991a8
commit
30c3e70718
@ -295,7 +295,6 @@ func Test_RegistryMatchesGenOpenapi(t *testing.T) {
|
|||||||
for _, excluded := range []string{
|
for _, excluded := range []string{
|
||||||
"oidc", // alias for "jwt"
|
"oidc", // alias for "jwt"
|
||||||
"openldap", // alias for "ldap"
|
"openldap", // alias for "ldap"
|
||||||
"ad", // consolidated into "ldap" and deprecated
|
|
||||||
} {
|
} {
|
||||||
if name == excluded {
|
if name == excluded {
|
||||||
return
|
return
|
||||||
@ -313,19 +312,23 @@ func Test_RegistryMatchesGenOpenapi(t *testing.T) {
|
|||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, b := range scriptCredentialBackends {
|
for _, name := range scriptCredentialBackends {
|
||||||
ensureInRegistry(t, b, consts.PluginTypeCredential)
|
ensureInRegistry(t, name, consts.PluginTypeCredential)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, b := range scriptSecretsBackends {
|
for _, name := range scriptSecretsBackends {
|
||||||
ensureInRegistry(t, b, consts.PluginTypeSecrets)
|
ensureInRegistry(t, name, consts.PluginTypeSecrets)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, b := range Registry.Keys(consts.PluginTypeCredential) {
|
for name, backend := range Registry.credentialBackends {
|
||||||
ensureInScript(t, scriptCredentialBackends, b)
|
if backend.DeprecationStatus == consts.Supported {
|
||||||
|
ensureInScript(t, scriptCredentialBackends, name)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, b := range Registry.Keys(consts.PluginTypeSecrets) {
|
for name, backend := range Registry.logicalBackends {
|
||||||
ensureInScript(t, scriptSecretsBackends, b)
|
if backend.DeprecationStatus == consts.Supported {
|
||||||
|
ensureInScript(t, scriptSecretsBackends, name)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -55,7 +55,6 @@ vault auth enable "kubernetes"
|
|||||||
vault auth enable "ldap"
|
vault auth enable "ldap"
|
||||||
vault auth enable "oci"
|
vault auth enable "oci"
|
||||||
vault auth enable "okta"
|
vault auth enable "okta"
|
||||||
vault auth enable "pcf"
|
|
||||||
vault auth enable "radius"
|
vault auth enable "radius"
|
||||||
vault auth enable "userpass"
|
vault auth enable "userpass"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user