Tryig to mount multpple AD engine in a different path but it is giving an error:
By default, the secrets engine will mount at the name of the engine. To enable the secrets engine at a different path, use the -path argument.
vault secrets enable --path=testad-ad
vault write testad/config
binddn=‘CN=test,OU=test,OU=Users,OU=geo,DC=test,DC=local’
bindpass=‘pass’\
url=ldap://DC.test.local:389
userdn=‘OU=geo,DC=test,DC=local’
So far so go i can list the new secret testad ad:
vault secrets list
Path Type Accessor Description
---- ---- -------- -----------
testad/ ad ad_dctyr9 n/a
I can read the config:
But when i want to create the role:
vault write testad/roles/testuser \
service_account_name="testuser@test.local"
Got an error but with the default AD path works
Error writing data to testad/roles/testuser: Error making API request.
URL: PUT
Code: 500. Errors:
* 1 error occurred:
* expected one matching entry, but received 0