SecretBackendCrlConfig

Allows setting the duration for which the generated CRL should be marked valid. If the CRL is disabled, it will return a signed but zero-length CRL for any request. If enabled, it will re-build the CRL.

Example Usage

using Pulumi;
using Vault = Pulumi.Vault;

class MyStack : Stack
{
    public MyStack()
    {
        var pki = new Vault.Mount("pki", new Vault.MountArgs
        {
            DefaultLeaseTtlSeconds = 3600,
            MaxLeaseTtlSeconds = 86400,
            Path = "%s",
            Type = "pki",
        });
        var crlConfig = new Vault.PkiSecret.SecretBackendCrlConfig("crlConfig", new Vault.PkiSecret.SecretBackendCrlConfigArgs
        {
            Backend = pki.Path,
            Disable = false,
            Expiry = "72h",
        });
    }

}

Coming soon!

import pulumi
import pulumi_vault as vault

pki = vault.Mount("pki",
    default_lease_ttl_seconds=3600,
    max_lease_ttl_seconds=86400,
    path="%s",
    type="pki")
crl_config = vault.pki_secret.SecretBackendCrlConfig("crlConfig",
    backend=pki.path,
    disable=False,
    expiry="72h")
import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";

const pki = new vault.Mount("pki", {
    defaultLeaseTtlSeconds: 3600,
    maxLeaseTtlSeconds: 86400,
    path: "%s",
    type: "pki",
});
const crlConfig = new vault.pkiSecret.SecretBackendCrlConfig("crl_config", {
    backend: pki.path,
    disable: false,
    expiry: "72h",
});

Create a SecretBackendCrlConfig Resource

def SecretBackendCrlConfig(resource_name, opts=None, backend=None, disable=None, expiry=None, __props__=None);
name string
The unique name of the resource.
args SecretBackendCrlConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SecretBackendCrlConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SecretBackendCrlConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

SecretBackendCrlConfig Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The SecretBackendCrlConfig resource accepts the following input properties:

Backend string

The path the PKI secret backend is mounted at, with no leading or trailing /s.

Disable bool

Disables or enables CRL building.

Expiry string

Specifies the time until expiration.

Backend string

The path the PKI secret backend is mounted at, with no leading or trailing /s.

Disable bool

Disables or enables CRL building.

Expiry string

Specifies the time until expiration.

backend string

The path the PKI secret backend is mounted at, with no leading or trailing /s.

disable boolean

Disables or enables CRL building.

expiry string

Specifies the time until expiration.

backend str

The path the PKI secret backend is mounted at, with no leading or trailing /s.

disable bool

Disables or enables CRL building.

expiry str

Specifies the time until expiration.

Outputs

All input properties are implicitly available as output properties. Additionally, the SecretBackendCrlConfig resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing SecretBackendCrlConfig Resource

Get an existing SecretBackendCrlConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

static get(resource_name, id, opts=None, backend=None, disable=None, expiry=None, __props__=None);
func GetSecretBackendCrlConfig(ctx *Context, name string, id IDInput, state *SecretBackendCrlConfigState, opts ...ResourceOption) (*SecretBackendCrlConfig, error)
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.

The following state arguments are supported:

Backend string

The path the PKI secret backend is mounted at, with no leading or trailing /s.

Disable bool

Disables or enables CRL building.

Expiry string

Specifies the time until expiration.

Backend string

The path the PKI secret backend is mounted at, with no leading or trailing /s.

Disable bool

Disables or enables CRL building.

Expiry string

Specifies the time until expiration.

backend string

The path the PKI secret backend is mounted at, with no leading or trailing /s.

disable boolean

Disables or enables CRL building.

expiry string

Specifies the time until expiration.

backend str

The path the PKI secret backend is mounted at, with no leading or trailing /s.

disable bool

Disables or enables CRL building.

expiry str

Specifies the time until expiration.

Package Details

Repository
https://github.com/pulumi/pulumi-vault
License
Apache-2.0
Notes
This Pulumi package is based on the vault Terraform Provider.