Show / Hide Table of Contents

Class 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",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
SecretBackendCrlConfig
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Vault.PkiSecret
Assembly: Pulumi.Vault.dll
Syntax
public class SecretBackendCrlConfig : CustomResource

Constructors

View Source

SecretBackendCrlConfig(String, SecretBackendCrlConfigArgs, CustomResourceOptions)

Create a SecretBackendCrlConfig resource with the given unique name, arguments, and options.

Declaration
public SecretBackendCrlConfig(string name, SecretBackendCrlConfigArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

SecretBackendCrlConfigArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Backend

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

Declaration
public Output<string> Backend { get; }
Property Value
Type Description
Output<System.String>
View Source

Disable

Disables or enables CRL building.

Declaration
public Output<bool?> Disable { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Expiry

Specifies the time until expiration.

Declaration
public Output<string> Expiry { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, SecretBackendCrlConfigState, CustomResourceOptions)

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

Declaration
public static SecretBackendCrlConfig Get(string name, Input<string> id, SecretBackendCrlConfigState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

SecretBackendCrlConfigState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
SecretBackendCrlConfig
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.