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
new SecretBackendCrlConfig(name: string, args: SecretBackendCrlConfigArgs, opts?: CustomResourceOptions);def SecretBackendCrlConfig(resource_name, opts=None, backend=None, disable=None, expiry=None, __props__=None);func NewSecretBackendCrlConfig(ctx *Context, name string, args SecretBackendCrlConfigArgs, opts ...ResourceOption) (*SecretBackendCrlConfig, error)public SecretBackendCrlConfig(string name, SecretBackendCrlConfigArgs args, CustomResourceOptions? opts = null)- 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:
Outputs
All input properties are implicitly available as output properties. Additionally, the SecretBackendCrlConfig resource produces the following output properties:
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.
public static get(name: string, id: Input<ID>, state?: SecretBackendCrlConfigState, opts?: CustomResourceOptions): SecretBackendCrlConfigstatic 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)public static SecretBackendCrlConfig Get(string name, Input<string> id, SecretBackendCrlConfigState? state, CustomResourceOptions? opts = null)- 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:
Package Details
- Repository
- https://github.com/pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vaultTerraform Provider.