open-vault/website/content/docs/commands/namespace.mdx
Bryce Kalow b76a56d40c
feat(website): migrates nav data format and updates docs pages (#11242)
* migrates nav data format and updates docs pages

* removes sidebar_title from content files
2021-04-06 13:49:04 -04:00

55 lines
1.1 KiB
Plaintext

---
layout: docs
page_title: namespace - Command
description: The "namespace" command groups subcommands for interacting with namespaces.
---
# namespace
The `namespace` command groups subcommands for interacting with namespaces.
## Examples
List all namespaces:
```shell-session
$ vault namespace list
```
Create a namespace at the path `ns1/`:
```shell-session
$ vault namespace create ns1/
```
Delete the namespace at path `ns1/`:
```shell-session
$ vault namespace delete ns1/
```
Lookup the namespace information at path `ns1/`:
```shell-session
$ vault namespace lookup ns1/
```
## Usage
```text
Usage: vault namespace <subcommand> [options] [args]
This command groups subcommands for interacting with Vault namespaces.
These set of subcommands operate on the context of the namespace that the
current logged in token belongs to.
Subcommands:
create Create a new namespace
delete Delete an existing namespace
list List child namespaces
lookup Look up an existing namespace
```
For more information, examples, and usage about a subcommand, click on the name
of the subcommand in the sidebar.