sumedhe
sumedhe

Reputation: 1018

Unsupported path error when creating namespace in HashiCorp

When trying to create a namespace at path, it returns the following error.

$ vault namespace create ns1
Error creating namespace: Error making API request.

URL: PUT http://127.0.0.1:8200/v1/sys/namespaces/ns1
Code: 404. Errors:

* 1 error occurred:
        * unsupported path

Creating new secret engines and putting new kv entries are working well.

Upvotes: 1

Views: 1687

Answers (2)

Ryuzaki Lawliet
Ryuzaki Lawliet

Reputation: 61

It seems you are using the Vault Version, whereas creating Namespace and accessing Vault using namespace is done only when the Vault is Enterprise, i.e Vault Enterprise, you can check here:

Vault Enterprise Installation

Upvotes: 0

sumedhe
sumedhe

Reputation: 1018

It worked with the Vault Enterprise version.

The namespace support is only available with Vault Enterprise.

Upvotes: 4

Related Questions