Namespace

class Namespace : KotlinCustomResource

Import

Namespaces can be imported using its name as accessor id

$ pulumi import vault:index/namespace:Namespace example <name>

If the declared resource is imported and intends to support namespaces using a provider alias, then the name is relative to the namespace path. hcl provider "vault" {

Configuration options

namespace = "example" alias = "example" } resource "vault_namespace" "example2" { provider = vault.example path = "example2" }

$ pulumi import vault:index/namespace:Namespace example2 example2

$ terraform state show vault_namespace.example2 vault_namespace.example2: resource "vault_namespace" "example2" { id = "example/example2/" namespace_id = path = "example2" path_fq = "example2" }

Properties

Link copied to clipboard

Custom metadata describing this namespace. Value type is map[string]string. Requires Vault version 1.12+.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val namespace: Output<String>?

The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.

Link copied to clipboard
val namespaceId: Output<String>

Vault server's internal ID of the namespace.

Link copied to clipboard
val path: Output<String>

The path of the namespace. Must not have a trailing /.

Link copied to clipboard
val pathFq: Output<String>

The fully qualified path to the namespace. Useful when provisioning resources in a child namespace. The path is relative to the provider's namespace argument.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>