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",
});
}
}
Inherited Members
Namespace: Pulumi.Vault.PkiSecret
Assembly: Pulumi.Vault.dll
Syntax
public class SecretBackendCrlConfig : CustomResource
Constructors
View SourceSecretBackendCrlConfig(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 SourceBackend
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> |
Disable
Disables or enables CRL building.
Declaration
public Output<bool?> Disable { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Expiry
Specifies the time until expiration.
Declaration
public Output<string> Expiry { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(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 |