open-vault/website/source/docs/commands/namespace.html.md
RJ Spiker fca7cb3794 website: update sidebar_title in front matter to use <code> (#5636)
* website: replace deprecated <tt> with <code> in front matter sidebar_title

* website: wrap front matter sidebar_title in <code> for commands pages
2018-10-29 15:58:37 -04:00

1.2 KiB

layout page_title sidebar_title sidebar_current description
docs namespace - Command <code>namespace</code> docs-commands-namespace The "namespace" command groups subcommands for interacting with namespaces.

namespace

The namespace command groups subcommands for interacting with namespaces.

Examples

List all namespaces:

$ vault namespace list

Create a namespace at the path ns1/:

$ vault namespace create ns1/

Delete the namespace at path ns1/:

$ vault namespace delete ns1/

Lookup the namespace information at path ns1/:

$ vault namespace lookup ns1/

Usage

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.