Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

namespaces are not supported by vaultsharp #92

rahulmanasa opened this issue Jul 24, 2019 · 2 comments


Copy link

commented Jul 24, 2019

How to authenticate to /or retrieve secrets from a "namespace".
It seems vaultsharp always communicates to root namespace.

Rahul Jain


This comment has been minimized.

Copy link

commented Aug 13, 2019

You can specify the namespace by adding the X-Vault-Namespace header like this:

var clientSettings = new VaultClientSettings(VaultUrl, vaultAuthMethod)
    BeforeApiRequestAction = (httpClient, httpRequestMessage) =>
        httpRequestMessage.Headers.Add("X-Vault-Namespace", VaultNamespace);

This comment has been minimized.

Copy link

commented Aug 14, 2019

thanks @matthewreiter .
Please let me know if that works for you @rahulmanasa ?

@rajanadar rajanadar closed this Aug 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.