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