SecretBackendConfigUrls

Allows setting the issuing certificate endpoints, CRL distribution points, and OCSP server endpoints that will be encoded into issued certificates.

Example Usage

using Pulumi;
using Vault = Pulumi.Vault;

class MyStack : Stack
{
    public MyStack()
    {
        var pki = new Vault.PkiSecret.SecretBackend("pki", new Vault.PkiSecret.SecretBackendArgs
        {
            DefaultLeaseTtlSeconds = 3600,
            MaxLeaseTtlSeconds = 86400,
            Path = "%s",
        });
        var configUrls = new Vault.PkiSecret.SecretBackendConfigUrls("configUrls", new Vault.PkiSecret.SecretBackendConfigUrlsArgs
        {
            Backend = pki.Path,
            IssuingCertificates = 
            {
                "http://127.0.0.1:8200/v1/pki/ca",
            },
        });
    }

}

Coming soon!

import pulumi
import pulumi_vault as vault

pki = vault.pki_secret.SecretBackend("pki",
    default_lease_ttl_seconds=3600,
    max_lease_ttl_seconds=86400,
    path="%s")
config_urls = vault.pki_secret.SecretBackendConfigUrls("configUrls",
    backend=pki.path,
    issuing_certificates=["http://127.0.0.1:8200/v1/pki/ca"])
import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";

const pki = new vault.pkiSecret.SecretBackend("pki", {
    defaultLeaseTtlSeconds: 3600,
    maxLeaseTtlSeconds: 86400,
    path: "%s",
});
const configUrls = new vault.pkiSecret.SecretBackendConfigUrls("config_urls", {
    backend: pki.path,
    issuingCertificates: ["http://127.0.0.1:8200/v1/pki/ca"],
});

Create a SecretBackendConfigUrls Resource

def SecretBackendConfigUrls(resource_name, opts=None, backend=None, crl_distribution_points=None, issuing_certificates=None, ocsp_servers=None, __props__=None);
name string
The unique name of the resource.
args SecretBackendConfigUrlsArgs
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 SecretBackendConfigUrlsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SecretBackendConfigUrlsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

SecretBackendConfigUrls Resource Properties

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

Inputs

The SecretBackendConfigUrls resource accepts the following input properties:

Backend string

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

CrlDistributionPoints List<string>

Specifies the URL values for the CRL Distribution Points field.

IssuingCertificates List<string>

Specifies the URL values for the Issuing Certificate field.

OcspServers List<string>

Specifies the URL values for the OCSP Servers field.

Backend string

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

CrlDistributionPoints []string

Specifies the URL values for the CRL Distribution Points field.

IssuingCertificates []string

Specifies the URL values for the Issuing Certificate field.

OcspServers []string

Specifies the URL values for the OCSP Servers field.

backend string

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

crlDistributionPoints string[]

Specifies the URL values for the CRL Distribution Points field.

issuingCertificates string[]

Specifies the URL values for the Issuing Certificate field.

ocspServers string[]

Specifies the URL values for the OCSP Servers field.

backend str

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

crl_distribution_points List[str]

Specifies the URL values for the CRL Distribution Points field.

issuing_certificates List[str]

Specifies the URL values for the Issuing Certificate field.

ocsp_servers List[str]

Specifies the URL values for the OCSP Servers field.

Outputs

All input properties are implicitly available as output properties. Additionally, the SecretBackendConfigUrls 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 SecretBackendConfigUrls Resource

Get an existing SecretBackendConfigUrls 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, crl_distribution_points=None, issuing_certificates=None, ocsp_servers=None, __props__=None);
func GetSecretBackendConfigUrls(ctx *Context, name string, id IDInput, state *SecretBackendConfigUrlsState, opts ...ResourceOption) (*SecretBackendConfigUrls, 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.

CrlDistributionPoints List<string>

Specifies the URL values for the CRL Distribution Points field.

IssuingCertificates List<string>

Specifies the URL values for the Issuing Certificate field.

OcspServers List<string>

Specifies the URL values for the OCSP Servers field.

Backend string

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

CrlDistributionPoints []string

Specifies the URL values for the CRL Distribution Points field.

IssuingCertificates []string

Specifies the URL values for the Issuing Certificate field.

OcspServers []string

Specifies the URL values for the OCSP Servers field.

backend string

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

crlDistributionPoints string[]

Specifies the URL values for the CRL Distribution Points field.

issuingCertificates string[]

Specifies the URL values for the Issuing Certificate field.

ocspServers string[]

Specifies the URL values for the OCSP Servers field.

backend str

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

crl_distribution_points List[str]

Specifies the URL values for the CRL Distribution Points field.

issuing_certificates List[str]

Specifies the URL values for the Issuing Certificate field.

ocsp_servers List[str]

Specifies the URL values for the OCSP Servers field.

Package Details

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