Hello,
We have vault version v1.14.2 installed with consul version V1.16.1 configure with ADFS (OIDC).
All is working fine in the browser. We can create and read secrets (kv type 1)
But we can’t read the secrets with an API call ( we copy the token after logon through OIDC and ADFS.
The error we see with an API call is the following :” {“errors”:} “
Nothing is returned in tracing “vault monitor -log-level=trace”
Call ‘ curl -H “X-Vault-Token: hvs.blablalbla” -X LIST https://dev-app-vault.infrabel.be/custom_path ’ or ‘ curl -H “X-Vault-Token: hvs.blablalbla” -X GET https://dev-app-vault.infrabel.be/custom_path/secret/testsecret ‘
policy:
‘
path “custom_path/*” {
capabilities = [“create”, “read”, “update”, “delete”, “list”]
}
‘
What can we do to further debug this ?
What do we need to do to fix this ?
Best Regards,
David