published on Tuesday, Aug 11, 2026 by Pulumi
published on Tuesday, Aug 11, 2026 by Pulumi
Manages generated KMIP Secret CAs in a Vault server. This resource generates a new CA certificate and private key. This feature requires Vault Enterprise. See the Vault documentation for more information.
Example Usage
Generate an EC CA
import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";
const _default = new vault.kmip.SecretBackend("default", {
path: "kmip",
description: "Vault KMIP backend",
});
const ec = new vault.kmip.SecretCaGenerated("ec", {
path: _default.path,
name: "my-ec-ca",
keyType: "ec",
keyBits: 256,
ttl: 31536000,
});
import pulumi
import pulumi_vault as vault
default = vault.kmip.SecretBackend("default",
path="kmip",
description="Vault KMIP backend")
ec = vault.kmip.SecretCaGenerated("ec",
path=default.path,
name="my-ec-ca",
key_type="ec",
key_bits=256,
ttl=31536000)
package main
import (
"github.com/pulumi/pulumi-vault/sdk/v7/go/vault/kmip"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := kmip.NewSecretBackend(ctx, "default", &kmip.SecretBackendArgs{
Path: pulumi.String("kmip"),
Description: pulumi.String("Vault KMIP backend"),
})
if err != nil {
return err
}
_, err = kmip.NewSecretCaGenerated(ctx, "ec", &kmip.SecretCaGeneratedArgs{
Path: _default.Path,
Name: pulumi.String("my-ec-ca"),
KeyType: pulumi.String("ec"),
KeyBits: pulumi.Int(256),
Ttl: pulumi.Int(31536000),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vault = Pulumi.Vault;
return await Deployment.RunAsync(() =>
{
var @default = new Vault.Kmip.SecretBackend("default", new()
{
Path = "kmip",
Description = "Vault KMIP backend",
});
var ec = new Vault.Kmip.SecretCaGenerated("ec", new()
{
Path = @default.Path,
Name = "my-ec-ca",
KeyType = "ec",
KeyBits = 256,
Ttl = 31536000,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vault.kmip.SecretBackend;
import com.pulumi.vault.kmip.SecretBackendArgs;
import com.pulumi.vault.kmip.SecretCaGenerated;
import com.pulumi.vault.kmip.SecretCaGeneratedArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new SecretBackend("default", SecretBackendArgs.builder()
.path("kmip")
.description("Vault KMIP backend")
.build());
var ec = new SecretCaGenerated("ec", SecretCaGeneratedArgs.builder()
.path(default_.path())
.name("my-ec-ca")
.keyType("ec")
.keyBits(256)
.ttl(31536000)
.build());
}
}
resources:
default:
type: vault:kmip:SecretBackend
properties:
path: kmip
description: Vault KMIP backend
ec:
type: vault:kmip:SecretCaGenerated
properties:
path: ${default.path}
name: my-ec-ca
keyType: ec
keyBits: 256
ttl: 3.1536e+07 # 1 year in seconds
pulumi {
required_providers {
vault = {
source = "pulumi/vault"
}
}
}
resource "vault_kmip_secretbackend" "default" {
path = "kmip"
description = "Vault KMIP backend"
}
resource "vault_kmip_secretcagenerated" "ec" {
path = vault_kmip_secretbackend.default.path
name = "my-ec-ca"
key_type = "ec"
key_bits = 256
ttl = 31536000 # 1 year in seconds
}
Generate an RSA CA
import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";
const _default = new vault.kmip.SecretBackend("default", {
path: "kmip",
description: "Vault KMIP backend",
});
const rsa = new vault.kmip.SecretCaGenerated("rsa", {
path: _default.path,
name: "my-rsa-ca",
keyType: "rsa",
keyBits: 2048,
});
import pulumi
import pulumi_vault as vault
default = vault.kmip.SecretBackend("default",
path="kmip",
description="Vault KMIP backend")
rsa = vault.kmip.SecretCaGenerated("rsa",
path=default.path,
name="my-rsa-ca",
key_type="rsa",
key_bits=2048)
package main
import (
"github.com/pulumi/pulumi-vault/sdk/v7/go/vault/kmip"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := kmip.NewSecretBackend(ctx, "default", &kmip.SecretBackendArgs{
Path: pulumi.String("kmip"),
Description: pulumi.String("Vault KMIP backend"),
})
if err != nil {
return err
}
_, err = kmip.NewSecretCaGenerated(ctx, "rsa", &kmip.SecretCaGeneratedArgs{
Path: _default.Path,
Name: pulumi.String("my-rsa-ca"),
KeyType: pulumi.String("rsa"),
KeyBits: pulumi.Int(2048),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vault = Pulumi.Vault;
return await Deployment.RunAsync(() =>
{
var @default = new Vault.Kmip.SecretBackend("default", new()
{
Path = "kmip",
Description = "Vault KMIP backend",
});
var rsa = new Vault.Kmip.SecretCaGenerated("rsa", new()
{
Path = @default.Path,
Name = "my-rsa-ca",
KeyType = "rsa",
KeyBits = 2048,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vault.kmip.SecretBackend;
import com.pulumi.vault.kmip.SecretBackendArgs;
import com.pulumi.vault.kmip.SecretCaGenerated;
import com.pulumi.vault.kmip.SecretCaGeneratedArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new SecretBackend("default", SecretBackendArgs.builder()
.path("kmip")
.description("Vault KMIP backend")
.build());
var rsa = new SecretCaGenerated("rsa", SecretCaGeneratedArgs.builder()
.path(default_.path())
.name("my-rsa-ca")
.keyType("rsa")
.keyBits(2048)
.build());
}
}
resources:
default:
type: vault:kmip:SecretBackend
properties:
path: kmip
description: Vault KMIP backend
rsa:
type: vault:kmip:SecretCaGenerated
properties:
path: ${default.path}
name: my-rsa-ca
keyType: rsa
keyBits: 2048
pulumi {
required_providers {
vault = {
source = "pulumi/vault"
}
}
}
resource "vault_kmip_secretbackend" "default" {
path = "kmip"
description = "Vault KMIP backend"
}
resource "vault_kmip_secretcagenerated" "rsa" {
path = vault_kmip_secretbackend.default.path
name = "my-rsa-ca"
key_type = "rsa"
key_bits = 2048
}
Generate a CA with Custom TTL
import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";
const _default = new vault.kmip.SecretBackend("default", {
path: "kmip",
description: "Vault KMIP backend",
});
const customTtl = new vault.kmip.SecretCaGenerated("custom_ttl", {
path: _default.path,
name: "long-lived-ca",
keyType: "ec",
keyBits: 384,
ttl: 63072000,
});
import pulumi
import pulumi_vault as vault
default = vault.kmip.SecretBackend("default",
path="kmip",
description="Vault KMIP backend")
custom_ttl = vault.kmip.SecretCaGenerated("custom_ttl",
path=default.path,
name="long-lived-ca",
key_type="ec",
key_bits=384,
ttl=63072000)
package main
import (
"github.com/pulumi/pulumi-vault/sdk/v7/go/vault/kmip"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := kmip.NewSecretBackend(ctx, "default", &kmip.SecretBackendArgs{
Path: pulumi.String("kmip"),
Description: pulumi.String("Vault KMIP backend"),
})
if err != nil {
return err
}
_, err = kmip.NewSecretCaGenerated(ctx, "custom_ttl", &kmip.SecretCaGeneratedArgs{
Path: _default.Path,
Name: pulumi.String("long-lived-ca"),
KeyType: pulumi.String("ec"),
KeyBits: pulumi.Int(384),
Ttl: pulumi.Int(63072000),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vault = Pulumi.Vault;
return await Deployment.RunAsync(() =>
{
var @default = new Vault.Kmip.SecretBackend("default", new()
{
Path = "kmip",
Description = "Vault KMIP backend",
});
var customTtl = new Vault.Kmip.SecretCaGenerated("custom_ttl", new()
{
Path = @default.Path,
Name = "long-lived-ca",
KeyType = "ec",
KeyBits = 384,
Ttl = 63072000,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vault.kmip.SecretBackend;
import com.pulumi.vault.kmip.SecretBackendArgs;
import com.pulumi.vault.kmip.SecretCaGenerated;
import com.pulumi.vault.kmip.SecretCaGeneratedArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new SecretBackend("default", SecretBackendArgs.builder()
.path("kmip")
.description("Vault KMIP backend")
.build());
var customTtl = new SecretCaGenerated("customTtl", SecretCaGeneratedArgs.builder()
.path(default_.path())
.name("long-lived-ca")
.keyType("ec")
.keyBits(384)
.ttl(63072000)
.build());
}
}
resources:
default:
type: vault:kmip:SecretBackend
properties:
path: kmip
description: Vault KMIP backend
customTtl:
type: vault:kmip:SecretCaGenerated
name: custom_ttl
properties:
path: ${default.path}
name: long-lived-ca
keyType: ec
keyBits: 384
ttl: 6.3072e+07 # 2 years in seconds
pulumi {
required_providers {
vault = {
source = "pulumi/vault"
}
}
}
resource "vault_kmip_secretbackend" "default" {
path = "kmip"
description = "Vault KMIP backend"
}
resource "vault_kmip_secretcagenerated" "custom_ttl" {
path = vault_kmip_secretbackend.default.path
name = "long-lived-ca"
key_type = "ec"
key_bits = 384
ttl = 63072000 # 2 years in seconds
}
Create SecretCaGenerated Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecretCaGenerated(name: string, args: SecretCaGeneratedArgs, opts?: CustomResourceOptions);@overload
def SecretCaGenerated(resource_name: str,
args: SecretCaGeneratedArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecretCaGenerated(resource_name: str,
opts: Optional[ResourceOptions] = None,
key_bits: Optional[int] = None,
key_type: Optional[str] = None,
path: Optional[str] = None,
name: Optional[str] = None,
namespace: Optional[str] = None,
ttl: Optional[int] = None)func NewSecretCaGenerated(ctx *Context, name string, args SecretCaGeneratedArgs, opts ...ResourceOption) (*SecretCaGenerated, error)public SecretCaGenerated(string name, SecretCaGeneratedArgs args, CustomResourceOptions? opts = null)
public SecretCaGenerated(String name, SecretCaGeneratedArgs args)
public SecretCaGenerated(String name, SecretCaGeneratedArgs args, CustomResourceOptions options)
type: vault:kmip:SecretCaGenerated
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "vault_kmip_secret_ca_generated" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SecretCaGeneratedArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SecretCaGeneratedArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SecretCaGeneratedArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecretCaGeneratedArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecretCaGeneratedArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var secretCaGeneratedResource = new Vault.Kmip.SecretCaGenerated("secretCaGeneratedResource", new()
{
KeyBits = 0,
KeyType = "string",
Path = "string",
Name = "string",
Namespace = "string",
Ttl = 0,
});
example, err := kmip.NewSecretCaGenerated(ctx, "secretCaGeneratedResource", &kmip.SecretCaGeneratedArgs{
KeyBits: pulumi.Int(0),
KeyType: pulumi.String("string"),
Path: pulumi.String("string"),
Name: pulumi.String("string"),
Namespace: pulumi.String("string"),
Ttl: pulumi.Int(0),
})
resource "vault_kmip_secret_ca_generated" "secretCaGeneratedResource" {
lifecycle {
create_before_destroy = true
}
key_bits = 0
key_type = "string"
path = "string"
name = "string"
namespace = "string"
ttl = 0
}
var secretCaGeneratedResource = new SecretCaGenerated("secretCaGeneratedResource", SecretCaGeneratedArgs.builder()
.keyBits(0)
.keyType("string")
.path("string")
.name("string")
.namespace("string")
.ttl(0)
.build());
secret_ca_generated_resource = vault.kmip.SecretCaGenerated("secretCaGeneratedResource",
key_bits=0,
key_type="string",
path="string",
name="string",
namespace="string",
ttl=0)
const secretCaGeneratedResource = new vault.kmip.SecretCaGenerated("secretCaGeneratedResource", {
keyBits: 0,
keyType: "string",
path: "string",
name: "string",
namespace: "string",
ttl: 0,
});
type: vault:kmip:SecretCaGenerated
properties:
keyBits: 0
keyType: string
name: string
namespace: string
path: string
ttl: 0
SecretCaGenerated Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SecretCaGenerated resource accepts the following input properties:
- Key
Bits int - CA key bits. Valid values depend on
keyType:- For
rsa: 2048, 3072, 4096 - For
ec: 224, 256, 384, 521
- For
- Key
Type string - CA key type. Valid values are
rsaorec. - Path string
- Path where KMIP backend is mounted. Must not begin or end with a
/. - Name string
- Name to identify the CA. This will be used in the CA's path.
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. - Ttl int
- CA TTL in seconds. Defaults to 365 days (31536000 seconds).
- Key
Bits int - CA key bits. Valid values depend on
keyType:- For
rsa: 2048, 3072, 4096 - For
ec: 224, 256, 384, 521
- For
- Key
Type string - CA key type. Valid values are
rsaorec. - Path string
- Path where KMIP backend is mounted. Must not begin or end with a
/. - Name string
- Name to identify the CA. This will be used in the CA's path.
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. - Ttl int
- CA TTL in seconds. Defaults to 365 days (31536000 seconds).
- key_
bits number - CA key bits. Valid values depend on
keyType:- For
rsa: 2048, 3072, 4096 - For
ec: 224, 256, 384, 521
- For
- key_
type string - CA key type. Valid values are
rsaorec. - path string
- Path where KMIP backend is mounted. Must not begin or end with a
/. - name string
- Name to identify the CA. This will be used in the CA's path.
- namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. - ttl number
- CA TTL in seconds. Defaults to 365 days (31536000 seconds).
- key
Bits Integer - CA key bits. Valid values depend on
keyType:- For
rsa: 2048, 3072, 4096 - For
ec: 224, 256, 384, 521
- For
- key
Type String - CA key type. Valid values are
rsaorec. - path String
- Path where KMIP backend is mounted. Must not begin or end with a
/. - name String
- Name to identify the CA. This will be used in the CA's path.
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. - ttl Integer
- CA TTL in seconds. Defaults to 365 days (31536000 seconds).
- key
Bits number - CA key bits. Valid values depend on
keyType:- For
rsa: 2048, 3072, 4096 - For
ec: 224, 256, 384, 521
- For
- key
Type string - CA key type. Valid values are
rsaorec. - path string
- Path where KMIP backend is mounted. Must not begin or end with a
/. - name string
- Name to identify the CA. This will be used in the CA's path.
- namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. - ttl number
- CA TTL in seconds. Defaults to 365 days (31536000 seconds).
- key_
bits int - CA key bits. Valid values depend on
keyType:- For
rsa: 2048, 3072, 4096 - For
ec: 224, 256, 384, 521
- For
- key_
type str - CA key type. Valid values are
rsaorec. - path str
- Path where KMIP backend is mounted. Must not begin or end with a
/. - name str
- Name to identify the CA. This will be used in the CA's path.
- namespace str
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. - ttl int
- CA TTL in seconds. Defaults to 365 days (31536000 seconds).
- key
Bits Number - CA key bits. Valid values depend on
keyType:- For
rsa: 2048, 3072, 4096 - For
ec: 224, 256, 384, 521
- For
- key
Type String - CA key type. Valid values are
rsaorec. - path String
- Path where KMIP backend is mounted. Must not begin or end with a
/. - name String
- Name to identify the CA. This will be used in the CA's path.
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. - ttl Number
- CA TTL in seconds. Defaults to 365 days (31536000 seconds).
Outputs
All input properties are implicitly available as output properties. Additionally, the SecretCaGenerated resource produces the following output properties:
Look up Existing SecretCaGenerated Resource
Get an existing SecretCaGenerated resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SecretCaGeneratedState, opts?: CustomResourceOptions): SecretCaGenerated@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ca_pem: Optional[str] = None,
key_bits: Optional[int] = None,
key_type: Optional[str] = None,
name: Optional[str] = None,
namespace: Optional[str] = None,
path: Optional[str] = None,
ttl: Optional[int] = None) -> SecretCaGeneratedfunc GetSecretCaGenerated(ctx *Context, name string, id IDInput, state *SecretCaGeneratedState, opts ...ResourceOption) (*SecretCaGenerated, error)public static SecretCaGenerated Get(string name, Input<string> id, SecretCaGeneratedState? state, CustomResourceOptions? opts = null)public static SecretCaGenerated get(String name, Output<String> id, SecretCaGeneratedState state, CustomResourceOptions options)resources: _: type: vault:kmip:SecretCaGenerated get: id: ${id}import {
to = vault_kmip_secret_ca_generated.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Ca
Pem string - The generated CA certificate in PEM format.
- Key
Bits int - CA key bits. Valid values depend on
keyType:- For
rsa: 2048, 3072, 4096 - For
ec: 224, 256, 384, 521
- For
- Key
Type string - CA key type. Valid values are
rsaorec. - Name string
- Name to identify the CA. This will be used in the CA's path.
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. - Path string
- Path where KMIP backend is mounted. Must not begin or end with a
/. - Ttl int
- CA TTL in seconds. Defaults to 365 days (31536000 seconds).
- Ca
Pem string - The generated CA certificate in PEM format.
- Key
Bits int - CA key bits. Valid values depend on
keyType:- For
rsa: 2048, 3072, 4096 - For
ec: 224, 256, 384, 521
- For
- Key
Type string - CA key type. Valid values are
rsaorec. - Name string
- Name to identify the CA. This will be used in the CA's path.
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. - Path string
- Path where KMIP backend is mounted. Must not begin or end with a
/. - Ttl int
- CA TTL in seconds. Defaults to 365 days (31536000 seconds).
- ca_
pem string - The generated CA certificate in PEM format.
- key_
bits number - CA key bits. Valid values depend on
keyType:- For
rsa: 2048, 3072, 4096 - For
ec: 224, 256, 384, 521
- For
- key_
type string - CA key type. Valid values are
rsaorec. - name string
- Name to identify the CA. This will be used in the CA's path.
- namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. - path string
- Path where KMIP backend is mounted. Must not begin or end with a
/. - ttl number
- CA TTL in seconds. Defaults to 365 days (31536000 seconds).
- ca
Pem String - The generated CA certificate in PEM format.
- key
Bits Integer - CA key bits. Valid values depend on
keyType:- For
rsa: 2048, 3072, 4096 - For
ec: 224, 256, 384, 521
- For
- key
Type String - CA key type. Valid values are
rsaorec. - name String
- Name to identify the CA. This will be used in the CA's path.
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. - path String
- Path where KMIP backend is mounted. Must not begin or end with a
/. - ttl Integer
- CA TTL in seconds. Defaults to 365 days (31536000 seconds).
- ca
Pem string - The generated CA certificate in PEM format.
- key
Bits number - CA key bits. Valid values depend on
keyType:- For
rsa: 2048, 3072, 4096 - For
ec: 224, 256, 384, 521
- For
- key
Type string - CA key type. Valid values are
rsaorec. - name string
- Name to identify the CA. This will be used in the CA's path.
- namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. - path string
- Path where KMIP backend is mounted. Must not begin or end with a
/. - ttl number
- CA TTL in seconds. Defaults to 365 days (31536000 seconds).
- ca_
pem str - The generated CA certificate in PEM format.
- key_
bits int - CA key bits. Valid values depend on
keyType:- For
rsa: 2048, 3072, 4096 - For
ec: 224, 256, 384, 521
- For
- key_
type str - CA key type. Valid values are
rsaorec. - name str
- Name to identify the CA. This will be used in the CA's path.
- namespace str
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. - path str
- Path where KMIP backend is mounted. Must not begin or end with a
/. - ttl int
- CA TTL in seconds. Defaults to 365 days (31536000 seconds).
- ca
Pem String - The generated CA certificate in PEM format.
- key
Bits Number - CA key bits. Valid values depend on
keyType:- For
rsa: 2048, 3072, 4096 - For
ec: 224, 256, 384, 521
- For
- key
Type String - CA key type. Valid values are
rsaorec. - name String
- Name to identify the CA. This will be used in the CA's path.
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespaceis always relative to the provider's configured namespace. - path String
- Path where KMIP backend is mounted. Must not begin or end with a
/. - ttl Number
- CA TTL in seconds. Defaults to 365 days (31536000 seconds).
Import
KMIP Secret CA Generated can be imported using the format <path>/ca/<name>, e.g.
$ pulumi import vault:kmip/secretCaGenerated:SecretCaGenerated example kmip/ca/my-ca
Note: When importing, the keyType, keyBits, and ttl values cannot be retrieved from Vault and will need to be set in your configuration. These values will be ignored during import verification.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Vault pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vaultTerraform Provider.
published on Tuesday, Aug 11, 2026 by Pulumi