vault.pkiSecret.SecretBackendRootSignIntermediate
Explore with Pulumi AI
Creates PKI certificate.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";
const root = new vault.pkisecret.SecretBackendRootSignIntermediate("root", {
backend: rootVaultMount.path,
csr: intermediate.csr,
commonName: "Intermediate CA",
excludeCnFromSans: true,
ou: "My OU",
organization: "My organization",
}, {
dependsOn: [intermediate],
});
import pulumi
import pulumi_vault as vault
root = vault.pki_secret.SecretBackendRootSignIntermediate("root",
backend=root_vault_mount["path"],
csr=intermediate["csr"],
common_name="Intermediate CA",
exclude_cn_from_sans=True,
ou="My OU",
organization="My organization",
opts = pulumi.ResourceOptions(depends_on=[intermediate]))
package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault/pkiSecret"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := pkiSecret.NewSecretBackendRootSignIntermediate(ctx, "root", &pkiSecret.SecretBackendRootSignIntermediateArgs{
Backend: pulumi.Any(rootVaultMount.Path),
Csr: pulumi.Any(intermediate.Csr),
CommonName: pulumi.String("Intermediate CA"),
ExcludeCnFromSans: pulumi.Bool(true),
Ou: pulumi.String("My OU"),
Organization: pulumi.String("My organization"),
}, pulumi.DependsOn([]pulumi.Resource{
intermediate,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vault = Pulumi.Vault;
return await Deployment.RunAsync(() =>
{
var root = new Vault.PkiSecret.SecretBackendRootSignIntermediate("root", new()
{
Backend = rootVaultMount.Path,
Csr = intermediate.Csr,
CommonName = "Intermediate CA",
ExcludeCnFromSans = true,
Ou = "My OU",
Organization = "My organization",
}, new CustomResourceOptions
{
DependsOn =
{
intermediate,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vault.pkiSecret.SecretBackendRootSignIntermediate;
import com.pulumi.vault.pkiSecret.SecretBackendRootSignIntermediateArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var root = new SecretBackendRootSignIntermediate("root", SecretBackendRootSignIntermediateArgs.builder()
.backend(rootVaultMount.path())
.csr(intermediate.csr())
.commonName("Intermediate CA")
.excludeCnFromSans(true)
.ou("My OU")
.organization("My organization")
.build(), CustomResourceOptions.builder()
.dependsOn(intermediate)
.build());
}
}
resources:
root:
type: vault:pkiSecret:SecretBackendRootSignIntermediate
properties:
backend: ${rootVaultMount.path}
csr: ${intermediate.csr}
commonName: Intermediate CA
excludeCnFromSans: true
ou: My OU
organization: My organization
options:
dependson:
- ${intermediate}
Create SecretBackendRootSignIntermediate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecretBackendRootSignIntermediate(name: string, args: SecretBackendRootSignIntermediateArgs, opts?: CustomResourceOptions);
@overload
def SecretBackendRootSignIntermediate(resource_name: str,
args: SecretBackendRootSignIntermediateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecretBackendRootSignIntermediate(resource_name: str,
opts: Optional[ResourceOptions] = None,
csr: Optional[str] = None,
backend: Optional[str] = None,
common_name: Optional[str] = None,
max_path_length: Optional[int] = None,
organization: Optional[str] = None,
exclude_cn_from_sans: Optional[bool] = None,
format: Optional[str] = None,
ip_sans: Optional[Sequence[str]] = None,
issuer_ref: Optional[str] = None,
locality: Optional[str] = None,
alt_names: Optional[Sequence[str]] = None,
namespace: Optional[str] = None,
country: Optional[str] = None,
other_sans: Optional[Sequence[str]] = None,
ou: Optional[str] = None,
permitted_dns_domains: Optional[Sequence[str]] = None,
postal_code: Optional[str] = None,
province: Optional[str] = None,
revoke: Optional[bool] = None,
street_address: Optional[str] = None,
ttl: Optional[str] = None,
uri_sans: Optional[Sequence[str]] = None,
use_csr_values: Optional[bool] = None)
func NewSecretBackendRootSignIntermediate(ctx *Context, name string, args SecretBackendRootSignIntermediateArgs, opts ...ResourceOption) (*SecretBackendRootSignIntermediate, error)
public SecretBackendRootSignIntermediate(string name, SecretBackendRootSignIntermediateArgs args, CustomResourceOptions? opts = null)
public SecretBackendRootSignIntermediate(String name, SecretBackendRootSignIntermediateArgs args)
public SecretBackendRootSignIntermediate(String name, SecretBackendRootSignIntermediateArgs args, CustomResourceOptions options)
type: vault:pkiSecret:SecretBackendRootSignIntermediate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SecretBackendRootSignIntermediateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SecretBackendRootSignIntermediateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SecretBackendRootSignIntermediateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecretBackendRootSignIntermediateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecretBackendRootSignIntermediateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var secretBackendRootSignIntermediateResource = new Vault.PkiSecret.SecretBackendRootSignIntermediate("secretBackendRootSignIntermediateResource", new()
{
Csr = "string",
Backend = "string",
CommonName = "string",
MaxPathLength = 0,
Organization = "string",
ExcludeCnFromSans = false,
Format = "string",
IpSans = new[]
{
"string",
},
IssuerRef = "string",
Locality = "string",
AltNames = new[]
{
"string",
},
Namespace = "string",
Country = "string",
OtherSans = new[]
{
"string",
},
Ou = "string",
PermittedDnsDomains = new[]
{
"string",
},
PostalCode = "string",
Province = "string",
Revoke = false,
StreetAddress = "string",
Ttl = "string",
UriSans = new[]
{
"string",
},
UseCsrValues = false,
});
example, err := pkiSecret.NewSecretBackendRootSignIntermediate(ctx, "secretBackendRootSignIntermediateResource", &pkiSecret.SecretBackendRootSignIntermediateArgs{
Csr: pulumi.String("string"),
Backend: pulumi.String("string"),
CommonName: pulumi.String("string"),
MaxPathLength: pulumi.Int(0),
Organization: pulumi.String("string"),
ExcludeCnFromSans: pulumi.Bool(false),
Format: pulumi.String("string"),
IpSans: pulumi.StringArray{
pulumi.String("string"),
},
IssuerRef: pulumi.String("string"),
Locality: pulumi.String("string"),
AltNames: pulumi.StringArray{
pulumi.String("string"),
},
Namespace: pulumi.String("string"),
Country: pulumi.String("string"),
OtherSans: pulumi.StringArray{
pulumi.String("string"),
},
Ou: pulumi.String("string"),
PermittedDnsDomains: pulumi.StringArray{
pulumi.String("string"),
},
PostalCode: pulumi.String("string"),
Province: pulumi.String("string"),
Revoke: pulumi.Bool(false),
StreetAddress: pulumi.String("string"),
Ttl: pulumi.String("string"),
UriSans: pulumi.StringArray{
pulumi.String("string"),
},
UseCsrValues: pulumi.Bool(false),
})
var secretBackendRootSignIntermediateResource = new SecretBackendRootSignIntermediate("secretBackendRootSignIntermediateResource", SecretBackendRootSignIntermediateArgs.builder()
.csr("string")
.backend("string")
.commonName("string")
.maxPathLength(0)
.organization("string")
.excludeCnFromSans(false)
.format("string")
.ipSans("string")
.issuerRef("string")
.locality("string")
.altNames("string")
.namespace("string")
.country("string")
.otherSans("string")
.ou("string")
.permittedDnsDomains("string")
.postalCode("string")
.province("string")
.revoke(false)
.streetAddress("string")
.ttl("string")
.uriSans("string")
.useCsrValues(false)
.build());
secret_backend_root_sign_intermediate_resource = vault.pki_secret.SecretBackendRootSignIntermediate("secretBackendRootSignIntermediateResource",
csr="string",
backend="string",
common_name="string",
max_path_length=0,
organization="string",
exclude_cn_from_sans=False,
format="string",
ip_sans=["string"],
issuer_ref="string",
locality="string",
alt_names=["string"],
namespace="string",
country="string",
other_sans=["string"],
ou="string",
permitted_dns_domains=["string"],
postal_code="string",
province="string",
revoke=False,
street_address="string",
ttl="string",
uri_sans=["string"],
use_csr_values=False)
const secretBackendRootSignIntermediateResource = new vault.pkisecret.SecretBackendRootSignIntermediate("secretBackendRootSignIntermediateResource", {
csr: "string",
backend: "string",
commonName: "string",
maxPathLength: 0,
organization: "string",
excludeCnFromSans: false,
format: "string",
ipSans: ["string"],
issuerRef: "string",
locality: "string",
altNames: ["string"],
namespace: "string",
country: "string",
otherSans: ["string"],
ou: "string",
permittedDnsDomains: ["string"],
postalCode: "string",
province: "string",
revoke: false,
streetAddress: "string",
ttl: "string",
uriSans: ["string"],
useCsrValues: false,
});
type: vault:pkiSecret:SecretBackendRootSignIntermediate
properties:
altNames:
- string
backend: string
commonName: string
country: string
csr: string
excludeCnFromSans: false
format: string
ipSans:
- string
issuerRef: string
locality: string
maxPathLength: 0
namespace: string
organization: string
otherSans:
- string
ou: string
permittedDnsDomains:
- string
postalCode: string
province: string
revoke: false
streetAddress: string
ttl: string
uriSans:
- string
useCsrValues: false
SecretBackendRootSignIntermediate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SecretBackendRootSignIntermediate resource accepts the following input properties:
- Backend string
- The PKI secret backend the resource belongs to.
- Common
Name string - CN of intermediate to create
- Csr string
- The CSR
- Alt
Names List<string> - List of alternative names
- Country string
- The country
- Exclude
Cn boolFrom Sans - Flag to exclude CN from SANs
- Format string
- The format of data
- Ip
Sans List<string> - List of alternative IPs
- Issuer
Ref string - Specifies the default issuer of this request. May
be the value
default
, a name, or an issuer ID. Use ACLs to prevent access to the/pki/issuer/:issuer_ref/{issue,sign}/:name
paths to prevent users overriding the role'sissuer_ref
value. - Locality string
- The locality
- Max
Path intLength - The maximum path length to encode in the generated certificate
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - Organization string
- The organization
- Other
Sans List<string> - List of other SANs
- Ou string
- The organization unit
- Permitted
Dns List<string>Domains - List of domains for which certificates are allowed to be issued
- Postal
Code string - The postal code
- Province string
- The province
- Revoke bool
- If set to
true
, the certificate will be revoked on resource destruction. - Street
Address string - The street address
- Ttl string
- Time to live
- Uri
Sans List<string> - List of alternative URIs
- Use
Csr boolValues - Preserve CSR values
- Backend string
- The PKI secret backend the resource belongs to.
- Common
Name string - CN of intermediate to create
- Csr string
- The CSR
- Alt
Names []string - List of alternative names
- Country string
- The country
- Exclude
Cn boolFrom Sans - Flag to exclude CN from SANs
- Format string
- The format of data
- Ip
Sans []string - List of alternative IPs
- Issuer
Ref string - Specifies the default issuer of this request. May
be the value
default
, a name, or an issuer ID. Use ACLs to prevent access to the/pki/issuer/:issuer_ref/{issue,sign}/:name
paths to prevent users overriding the role'sissuer_ref
value. - Locality string
- The locality
- Max
Path intLength - The maximum path length to encode in the generated certificate
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - Organization string
- The organization
- Other
Sans []string - List of other SANs
- Ou string
- The organization unit
- Permitted
Dns []stringDomains - List of domains for which certificates are allowed to be issued
- Postal
Code string - The postal code
- Province string
- The province
- Revoke bool
- If set to
true
, the certificate will be revoked on resource destruction. - Street
Address string - The street address
- Ttl string
- Time to live
- Uri
Sans []string - List of alternative URIs
- Use
Csr boolValues - Preserve CSR values
- backend String
- The PKI secret backend the resource belongs to.
- common
Name String - CN of intermediate to create
- csr String
- The CSR
- alt
Names List<String> - List of alternative names
- country String
- The country
- exclude
Cn BooleanFrom Sans - Flag to exclude CN from SANs
- format String
- The format of data
- ip
Sans List<String> - List of alternative IPs
- issuer
Ref String - Specifies the default issuer of this request. May
be the value
default
, a name, or an issuer ID. Use ACLs to prevent access to the/pki/issuer/:issuer_ref/{issue,sign}/:name
paths to prevent users overriding the role'sissuer_ref
value. - locality String
- The locality
- max
Path IntegerLength - The maximum path length to encode in the generated certificate
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - organization String
- The organization
- other
Sans List<String> - List of other SANs
- ou String
- The organization unit
- permitted
Dns List<String>Domains - List of domains for which certificates are allowed to be issued
- postal
Code String - The postal code
- province String
- The province
- revoke Boolean
- If set to
true
, the certificate will be revoked on resource destruction. - street
Address String - The street address
- ttl String
- Time to live
- uri
Sans List<String> - List of alternative URIs
- use
Csr BooleanValues - Preserve CSR values
- backend string
- The PKI secret backend the resource belongs to.
- common
Name string - CN of intermediate to create
- csr string
- The CSR
- alt
Names string[] - List of alternative names
- country string
- The country
- exclude
Cn booleanFrom Sans - Flag to exclude CN from SANs
- format string
- The format of data
- ip
Sans string[] - List of alternative IPs
- issuer
Ref string - Specifies the default issuer of this request. May
be the value
default
, a name, or an issuer ID. Use ACLs to prevent access to the/pki/issuer/:issuer_ref/{issue,sign}/:name
paths to prevent users overriding the role'sissuer_ref
value. - locality string
- The locality
- max
Path numberLength - The maximum path length to encode in the generated certificate
- namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - organization string
- The organization
- other
Sans string[] - List of other SANs
- ou string
- The organization unit
- permitted
Dns string[]Domains - List of domains for which certificates are allowed to be issued
- postal
Code string - The postal code
- province string
- The province
- revoke boolean
- If set to
true
, the certificate will be revoked on resource destruction. - street
Address string - The street address
- ttl string
- Time to live
- uri
Sans string[] - List of alternative URIs
- use
Csr booleanValues - Preserve CSR values
- backend str
- The PKI secret backend the resource belongs to.
- common_
name str - CN of intermediate to create
- csr str
- The CSR
- alt_
names Sequence[str] - List of alternative names
- country str
- The country
- exclude_
cn_ boolfrom_ sans - Flag to exclude CN from SANs
- format str
- The format of data
- ip_
sans Sequence[str] - List of alternative IPs
- issuer_
ref str - Specifies the default issuer of this request. May
be the value
default
, a name, or an issuer ID. Use ACLs to prevent access to the/pki/issuer/:issuer_ref/{issue,sign}/:name
paths to prevent users overriding the role'sissuer_ref
value. - locality str
- The locality
- max_
path_ intlength - The maximum path length to encode in the generated certificate
- namespace str
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - organization str
- The organization
- other_
sans Sequence[str] - List of other SANs
- ou str
- The organization unit
- permitted_
dns_ Sequence[str]domains - List of domains for which certificates are allowed to be issued
- postal_
code str - The postal code
- province str
- The province
- revoke bool
- If set to
true
, the certificate will be revoked on resource destruction. - street_
address str - The street address
- ttl str
- Time to live
- uri_
sans Sequence[str] - List of alternative URIs
- use_
csr_ boolvalues - Preserve CSR values
- backend String
- The PKI secret backend the resource belongs to.
- common
Name String - CN of intermediate to create
- csr String
- The CSR
- alt
Names List<String> - List of alternative names
- country String
- The country
- exclude
Cn BooleanFrom Sans - Flag to exclude CN from SANs
- format String
- The format of data
- ip
Sans List<String> - List of alternative IPs
- issuer
Ref String - Specifies the default issuer of this request. May
be the value
default
, a name, or an issuer ID. Use ACLs to prevent access to the/pki/issuer/:issuer_ref/{issue,sign}/:name
paths to prevent users overriding the role'sissuer_ref
value. - locality String
- The locality
- max
Path NumberLength - The maximum path length to encode in the generated certificate
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - organization String
- The organization
- other
Sans List<String> - List of other SANs
- ou String
- The organization unit
- permitted
Dns List<String>Domains - List of domains for which certificates are allowed to be issued
- postal
Code String - The postal code
- province String
- The province
- revoke Boolean
- If set to
true
, the certificate will be revoked on resource destruction. - street
Address String - The street address
- ttl String
- Time to live
- uri
Sans List<String> - List of alternative URIs
- use
Csr BooleanValues - Preserve CSR values
Outputs
All input properties are implicitly available as output properties. Additionally, the SecretBackendRootSignIntermediate resource produces the following output properties:
- Ca
Chains List<string> - A list of the issuing and intermediate CA certificates in the
format
specified. - Certificate string
- The intermediate CA certificate in the
format
specified. - Certificate
Bundle string - The concatenation of the intermediate CA and the issuing CA certificates (PEM encoded).
Requires the
format
to be set to any of: pem, pem_bundle. The value will be empty for all other formats. - Id string
- The provider-assigned unique ID for this managed resource.
- Issuing
Ca string - The issuing CA certificate in the
format
specified. - Serial
Number string - The certificate's serial number, hex formatted.
- Ca
Chains []string - A list of the issuing and intermediate CA certificates in the
format
specified. - Certificate string
- The intermediate CA certificate in the
format
specified. - Certificate
Bundle string - The concatenation of the intermediate CA and the issuing CA certificates (PEM encoded).
Requires the
format
to be set to any of: pem, pem_bundle. The value will be empty for all other formats. - Id string
- The provider-assigned unique ID for this managed resource.
- Issuing
Ca string - The issuing CA certificate in the
format
specified. - Serial
Number string - The certificate's serial number, hex formatted.
- ca
Chains List<String> - A list of the issuing and intermediate CA certificates in the
format
specified. - certificate String
- The intermediate CA certificate in the
format
specified. - certificate
Bundle String - The concatenation of the intermediate CA and the issuing CA certificates (PEM encoded).
Requires the
format
to be set to any of: pem, pem_bundle. The value will be empty for all other formats. - id String
- The provider-assigned unique ID for this managed resource.
- issuing
Ca String - The issuing CA certificate in the
format
specified. - serial
Number String - The certificate's serial number, hex formatted.
- ca
Chains string[] - A list of the issuing and intermediate CA certificates in the
format
specified. - certificate string
- The intermediate CA certificate in the
format
specified. - certificate
Bundle string - The concatenation of the intermediate CA and the issuing CA certificates (PEM encoded).
Requires the
format
to be set to any of: pem, pem_bundle. The value will be empty for all other formats. - id string
- The provider-assigned unique ID for this managed resource.
- issuing
Ca string - The issuing CA certificate in the
format
specified. - serial
Number string - The certificate's serial number, hex formatted.
- ca_
chains Sequence[str] - A list of the issuing and intermediate CA certificates in the
format
specified. - certificate str
- The intermediate CA certificate in the
format
specified. - certificate_
bundle str - The concatenation of the intermediate CA and the issuing CA certificates (PEM encoded).
Requires the
format
to be set to any of: pem, pem_bundle. The value will be empty for all other formats. - id str
- The provider-assigned unique ID for this managed resource.
- issuing_
ca str - The issuing CA certificate in the
format
specified. - serial_
number str - The certificate's serial number, hex formatted.
- ca
Chains List<String> - A list of the issuing and intermediate CA certificates in the
format
specified. - certificate String
- The intermediate CA certificate in the
format
specified. - certificate
Bundle String - The concatenation of the intermediate CA and the issuing CA certificates (PEM encoded).
Requires the
format
to be set to any of: pem, pem_bundle. The value will be empty for all other formats. - id String
- The provider-assigned unique ID for this managed resource.
- issuing
Ca String - The issuing CA certificate in the
format
specified. - serial
Number String - The certificate's serial number, hex formatted.
Look up Existing SecretBackendRootSignIntermediate Resource
Get an existing SecretBackendRootSignIntermediate 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?: SecretBackendRootSignIntermediateState, opts?: CustomResourceOptions): SecretBackendRootSignIntermediate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alt_names: Optional[Sequence[str]] = None,
backend: Optional[str] = None,
ca_chains: Optional[Sequence[str]] = None,
certificate: Optional[str] = None,
certificate_bundle: Optional[str] = None,
common_name: Optional[str] = None,
country: Optional[str] = None,
csr: Optional[str] = None,
exclude_cn_from_sans: Optional[bool] = None,
format: Optional[str] = None,
ip_sans: Optional[Sequence[str]] = None,
issuer_ref: Optional[str] = None,
issuing_ca: Optional[str] = None,
locality: Optional[str] = None,
max_path_length: Optional[int] = None,
namespace: Optional[str] = None,
organization: Optional[str] = None,
other_sans: Optional[Sequence[str]] = None,
ou: Optional[str] = None,
permitted_dns_domains: Optional[Sequence[str]] = None,
postal_code: Optional[str] = None,
province: Optional[str] = None,
revoke: Optional[bool] = None,
serial_number: Optional[str] = None,
street_address: Optional[str] = None,
ttl: Optional[str] = None,
uri_sans: Optional[Sequence[str]] = None,
use_csr_values: Optional[bool] = None) -> SecretBackendRootSignIntermediate
func GetSecretBackendRootSignIntermediate(ctx *Context, name string, id IDInput, state *SecretBackendRootSignIntermediateState, opts ...ResourceOption) (*SecretBackendRootSignIntermediate, error)
public static SecretBackendRootSignIntermediate Get(string name, Input<string> id, SecretBackendRootSignIntermediateState? state, CustomResourceOptions? opts = null)
public static SecretBackendRootSignIntermediate get(String name, Output<String> id, SecretBackendRootSignIntermediateState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Alt
Names List<string> - List of alternative names
- Backend string
- The PKI secret backend the resource belongs to.
- Ca
Chains List<string> - A list of the issuing and intermediate CA certificates in the
format
specified. - Certificate string
- The intermediate CA certificate in the
format
specified. - Certificate
Bundle string - The concatenation of the intermediate CA and the issuing CA certificates (PEM encoded).
Requires the
format
to be set to any of: pem, pem_bundle. The value will be empty for all other formats. - Common
Name string - CN of intermediate to create
- Country string
- The country
- Csr string
- The CSR
- Exclude
Cn boolFrom Sans - Flag to exclude CN from SANs
- Format string
- The format of data
- Ip
Sans List<string> - List of alternative IPs
- Issuer
Ref string - Specifies the default issuer of this request. May
be the value
default
, a name, or an issuer ID. Use ACLs to prevent access to the/pki/issuer/:issuer_ref/{issue,sign}/:name
paths to prevent users overriding the role'sissuer_ref
value. - Issuing
Ca string - The issuing CA certificate in the
format
specified. - Locality string
- The locality
- Max
Path intLength - The maximum path length to encode in the generated certificate
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - Organization string
- The organization
- Other
Sans List<string> - List of other SANs
- Ou string
- The organization unit
- Permitted
Dns List<string>Domains - List of domains for which certificates are allowed to be issued
- Postal
Code string - The postal code
- Province string
- The province
- Revoke bool
- If set to
true
, the certificate will be revoked on resource destruction. - Serial
Number string - The certificate's serial number, hex formatted.
- Street
Address string - The street address
- Ttl string
- Time to live
- Uri
Sans List<string> - List of alternative URIs
- Use
Csr boolValues - Preserve CSR values
- Alt
Names []string - List of alternative names
- Backend string
- The PKI secret backend the resource belongs to.
- Ca
Chains []string - A list of the issuing and intermediate CA certificates in the
format
specified. - Certificate string
- The intermediate CA certificate in the
format
specified. - Certificate
Bundle string - The concatenation of the intermediate CA and the issuing CA certificates (PEM encoded).
Requires the
format
to be set to any of: pem, pem_bundle. The value will be empty for all other formats. - Common
Name string - CN of intermediate to create
- Country string
- The country
- Csr string
- The CSR
- Exclude
Cn boolFrom Sans - Flag to exclude CN from SANs
- Format string
- The format of data
- Ip
Sans []string - List of alternative IPs
- Issuer
Ref string - Specifies the default issuer of this request. May
be the value
default
, a name, or an issuer ID. Use ACLs to prevent access to the/pki/issuer/:issuer_ref/{issue,sign}/:name
paths to prevent users overriding the role'sissuer_ref
value. - Issuing
Ca string - The issuing CA certificate in the
format
specified. - Locality string
- The locality
- Max
Path intLength - The maximum path length to encode in the generated certificate
- Namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - Organization string
- The organization
- Other
Sans []string - List of other SANs
- Ou string
- The organization unit
- Permitted
Dns []stringDomains - List of domains for which certificates are allowed to be issued
- Postal
Code string - The postal code
- Province string
- The province
- Revoke bool
- If set to
true
, the certificate will be revoked on resource destruction. - Serial
Number string - The certificate's serial number, hex formatted.
- Street
Address string - The street address
- Ttl string
- Time to live
- Uri
Sans []string - List of alternative URIs
- Use
Csr boolValues - Preserve CSR values
- alt
Names List<String> - List of alternative names
- backend String
- The PKI secret backend the resource belongs to.
- ca
Chains List<String> - A list of the issuing and intermediate CA certificates in the
format
specified. - certificate String
- The intermediate CA certificate in the
format
specified. - certificate
Bundle String - The concatenation of the intermediate CA and the issuing CA certificates (PEM encoded).
Requires the
format
to be set to any of: pem, pem_bundle. The value will be empty for all other formats. - common
Name String - CN of intermediate to create
- country String
- The country
- csr String
- The CSR
- exclude
Cn BooleanFrom Sans - Flag to exclude CN from SANs
- format String
- The format of data
- ip
Sans List<String> - List of alternative IPs
- issuer
Ref String - Specifies the default issuer of this request. May
be the value
default
, a name, or an issuer ID. Use ACLs to prevent access to the/pki/issuer/:issuer_ref/{issue,sign}/:name
paths to prevent users overriding the role'sissuer_ref
value. - issuing
Ca String - The issuing CA certificate in the
format
specified. - locality String
- The locality
- max
Path IntegerLength - The maximum path length to encode in the generated certificate
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - organization String
- The organization
- other
Sans List<String> - List of other SANs
- ou String
- The organization unit
- permitted
Dns List<String>Domains - List of domains for which certificates are allowed to be issued
- postal
Code String - The postal code
- province String
- The province
- revoke Boolean
- If set to
true
, the certificate will be revoked on resource destruction. - serial
Number String - The certificate's serial number, hex formatted.
- street
Address String - The street address
- ttl String
- Time to live
- uri
Sans List<String> - List of alternative URIs
- use
Csr BooleanValues - Preserve CSR values
- alt
Names string[] - List of alternative names
- backend string
- The PKI secret backend the resource belongs to.
- ca
Chains string[] - A list of the issuing and intermediate CA certificates in the
format
specified. - certificate string
- The intermediate CA certificate in the
format
specified. - certificate
Bundle string - The concatenation of the intermediate CA and the issuing CA certificates (PEM encoded).
Requires the
format
to be set to any of: pem, pem_bundle. The value will be empty for all other formats. - common
Name string - CN of intermediate to create
- country string
- The country
- csr string
- The CSR
- exclude
Cn booleanFrom Sans - Flag to exclude CN from SANs
- format string
- The format of data
- ip
Sans string[] - List of alternative IPs
- issuer
Ref string - Specifies the default issuer of this request. May
be the value
default
, a name, or an issuer ID. Use ACLs to prevent access to the/pki/issuer/:issuer_ref/{issue,sign}/:name
paths to prevent users overriding the role'sissuer_ref
value. - issuing
Ca string - The issuing CA certificate in the
format
specified. - locality string
- The locality
- max
Path numberLength - The maximum path length to encode in the generated certificate
- namespace string
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - organization string
- The organization
- other
Sans string[] - List of other SANs
- ou string
- The organization unit
- permitted
Dns string[]Domains - List of domains for which certificates are allowed to be issued
- postal
Code string - The postal code
- province string
- The province
- revoke boolean
- If set to
true
, the certificate will be revoked on resource destruction. - serial
Number string - The certificate's serial number, hex formatted.
- street
Address string - The street address
- ttl string
- Time to live
- uri
Sans string[] - List of alternative URIs
- use
Csr booleanValues - Preserve CSR values
- alt_
names Sequence[str] - List of alternative names
- backend str
- The PKI secret backend the resource belongs to.
- ca_
chains Sequence[str] - A list of the issuing and intermediate CA certificates in the
format
specified. - certificate str
- The intermediate CA certificate in the
format
specified. - certificate_
bundle str - The concatenation of the intermediate CA and the issuing CA certificates (PEM encoded).
Requires the
format
to be set to any of: pem, pem_bundle. The value will be empty for all other formats. - common_
name str - CN of intermediate to create
- country str
- The country
- csr str
- The CSR
- exclude_
cn_ boolfrom_ sans - Flag to exclude CN from SANs
- format str
- The format of data
- ip_
sans Sequence[str] - List of alternative IPs
- issuer_
ref str - Specifies the default issuer of this request. May
be the value
default
, a name, or an issuer ID. Use ACLs to prevent access to the/pki/issuer/:issuer_ref/{issue,sign}/:name
paths to prevent users overriding the role'sissuer_ref
value. - issuing_
ca str - The issuing CA certificate in the
format
specified. - locality str
- The locality
- max_
path_ intlength - The maximum path length to encode in the generated certificate
- namespace str
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - organization str
- The organization
- other_
sans Sequence[str] - List of other SANs
- ou str
- The organization unit
- permitted_
dns_ Sequence[str]domains - List of domains for which certificates are allowed to be issued
- postal_
code str - The postal code
- province str
- The province
- revoke bool
- If set to
true
, the certificate will be revoked on resource destruction. - serial_
number str - The certificate's serial number, hex formatted.
- street_
address str - The street address
- ttl str
- Time to live
- uri_
sans Sequence[str] - List of alternative URIs
- use_
csr_ boolvalues - Preserve CSR values
- alt
Names List<String> - List of alternative names
- backend String
- The PKI secret backend the resource belongs to.
- ca
Chains List<String> - A list of the issuing and intermediate CA certificates in the
format
specified. - certificate String
- The intermediate CA certificate in the
format
specified. - certificate
Bundle String - The concatenation of the intermediate CA and the issuing CA certificates (PEM encoded).
Requires the
format
to be set to any of: pem, pem_bundle. The value will be empty for all other formats. - common
Name String - CN of intermediate to create
- country String
- The country
- csr String
- The CSR
- exclude
Cn BooleanFrom Sans - Flag to exclude CN from SANs
- format String
- The format of data
- ip
Sans List<String> - List of alternative IPs
- issuer
Ref String - Specifies the default issuer of this request. May
be the value
default
, a name, or an issuer ID. Use ACLs to prevent access to the/pki/issuer/:issuer_ref/{issue,sign}/:name
paths to prevent users overriding the role'sissuer_ref
value. - issuing
Ca String - The issuing CA certificate in the
format
specified. - locality String
- The locality
- max
Path NumberLength - The maximum path length to encode in the generated certificate
- namespace String
- The namespace to provision the resource in.
The value should not contain leading or trailing forward slashes.
The
namespace
is always relative to the provider's configured namespace. Available only for Vault Enterprise. - organization String
- The organization
- other
Sans List<String> - List of other SANs
- ou String
- The organization unit
- permitted
Dns List<String>Domains - List of domains for which certificates are allowed to be issued
- postal
Code String - The postal code
- province String
- The province
- revoke Boolean
- If set to
true
, the certificate will be revoked on resource destruction. - serial
Number String - The certificate's serial number, hex formatted.
- street
Address String - The street address
- ttl String
- Time to live
- uri
Sans List<String> - List of alternative URIs
- use
Csr BooleanValues - Preserve CSR values
Package Details
- Repository
- Vault pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vault
Terraform Provider.