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
new SecretBackendConfigUrls(name: string, args: SecretBackendConfigUrlsArgs, opts?: CustomResourceOptions);def SecretBackendConfigUrls(resource_name, opts=None, backend=None, crl_distribution_points=None, issuing_certificates=None, ocsp_servers=None, __props__=None);func NewSecretBackendConfigUrls(ctx *Context, name string, args SecretBackendConfigUrlsArgs, opts ...ResourceOption) (*SecretBackendConfigUrls, error)public SecretBackendConfigUrls(string name, SecretBackendConfigUrlsArgs args, CustomResourceOptions? opts = null)- 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.- Crl
Distribution List<string>Points Specifies the URL values for the CRL Distribution Points field.
- Issuing
Certificates List<string> Specifies the URL values for the Issuing Certificate field.
- Ocsp
Servers 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.- Crl
Distribution []stringPoints Specifies the URL values for the CRL Distribution Points field.
- Issuing
Certificates []string Specifies the URL values for the Issuing Certificate field.
- Ocsp
Servers []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.- crl
Distribution string[]Points Specifies the URL values for the CRL Distribution Points field.
- issuing
Certificates string[] Specifies the URL values for the Issuing Certificate field.
- ocsp
Servers 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_ List[str]points 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:
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.
public static get(name: string, id: Input<ID>, state?: SecretBackendConfigUrlsState, opts?: CustomResourceOptions): SecretBackendConfigUrlsstatic 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)public static SecretBackendConfigUrls Get(string name, Input<string> id, SecretBackendConfigUrlsState? 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:
- Backend string
The path the PKI secret backend is mounted at, with no leading or trailing
/s.- Crl
Distribution List<string>Points Specifies the URL values for the CRL Distribution Points field.
- Issuing
Certificates List<string> Specifies the URL values for the Issuing Certificate field.
- Ocsp
Servers 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.- Crl
Distribution []stringPoints Specifies the URL values for the CRL Distribution Points field.
- Issuing
Certificates []string Specifies the URL values for the Issuing Certificate field.
- Ocsp
Servers []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.- crl
Distribution string[]Points Specifies the URL values for the CRL Distribution Points field.
- issuing
Certificates string[] Specifies the URL values for the Issuing Certificate field.
- ocsp
Servers 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_ List[str]points 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
vaultTerraform Provider.