SecretBackendRootCert
Create a SecretBackendRootCert Resource
new SecretBackendRootCert(name: string, args: SecretBackendRootCertArgs, opts?: CustomResourceOptions);def SecretBackendRootCert(resource_name, opts=None, alt_names=None, backend=None, common_name=None, country=None, exclude_cn_from_sans=None, format=None, ip_sans=None, key_bits=None, key_type=None, locality=None, max_path_length=None, organization=None, other_sans=None, ou=None, permitted_dns_domains=None, postal_code=None, private_key_format=None, province=None, street_address=None, ttl=None, type=None, uri_sans=None, __props__=None);func NewSecretBackendRootCert(ctx *Context, name string, args SecretBackendRootCertArgs, opts ...ResourceOption) (*SecretBackendRootCert, error)public SecretBackendRootCert(string name, SecretBackendRootCertArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args SecretBackendRootCertArgs
- 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 SecretBackendRootCertArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecretBackendRootCertArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
SecretBackendRootCert Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The SecretBackendRootCert resource accepts the following input properties:
- Backend string
The PKI secret backend the resource belongs to.
- Common
Name string CN of intermediate to create
- Type string
Type of intermediate to create. Must be either \“exported\” or \“internal\”
- 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
- Key
Bits int The number of bits to use
- Key
Type string The desired key type
- Locality string
The locality
- Max
Path intLength The maximum path length to encode in the generated certificate
- 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
- Private
Key stringFormat The private key format
- Province string
The province
- Street
Address string The street address
- Ttl string
Time to live
- Uri
Sans List<string> List of alternative URIs
- Backend string
The PKI secret backend the resource belongs to.
- Common
Name string CN of intermediate to create
- Type string
Type of intermediate to create. Must be either \“exported\” or \“internal\”
- 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
- Key
Bits int The number of bits to use
- Key
Type string The desired key type
- Locality string
The locality
- Max
Path intLength The maximum path length to encode in the generated certificate
- 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
- Private
Key stringFormat The private key format
- Province string
The province
- Street
Address string The street address
- Ttl string
Time to live
- Uri
Sans []string List of alternative URIs
- backend string
The PKI secret backend the resource belongs to.
- common
Name string CN of intermediate to create
- type string
Type of intermediate to create. Must be either \“exported\” or \“internal\”
- 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
- key
Bits number The number of bits to use
- key
Type string The desired key type
- locality string
The locality
- max
Path numberLength The maximum path length to encode in the generated certificate
- 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
- private
Key stringFormat The private key format
- province string
The province
- street
Address string The street address
- ttl string
Time to live
- uri
Sans string[] List of alternative URIs
- backend str
The PKI secret backend the resource belongs to.
- common_
name str CN of intermediate to create
- type str
Type of intermediate to create. Must be either \“exported\” or \“internal\”
- alt_
names List[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 List[str] List of alternative IPs
- key_
bits float The number of bits to use
- key_
type str The desired key type
- locality str
The locality
- max_
path_ floatlength The maximum path length to encode in the generated certificate
- organization str
The organization
- other_
sans List[str] List of other SANs
- ou str
The organization unit
- permitted_
dns_ List[str]domains List of domains for which certificates are allowed to be issued
- postal_
code str The postal code
- private_
key_ strformat The private key format
- province str
The province
- street_
address str The street address
- ttl str
Time to live
- uri_
sans List[str] List of alternative URIs
Outputs
All input properties are implicitly available as output properties. Additionally, the SecretBackendRootCert resource produces the following output properties:
- certificate str
The certificate
- id str
- The provider-assigned unique ID for this managed resource.
- issuing_
ca str The issuing CA
- serial str
The serial
Look up an Existing SecretBackendRootCert Resource
Get an existing SecretBackendRootCert 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?: SecretBackendRootCertState, opts?: CustomResourceOptions): SecretBackendRootCertstatic get(resource_name, id, opts=None, alt_names=None, backend=None, certificate=None, common_name=None, country=None, exclude_cn_from_sans=None, format=None, ip_sans=None, issuing_ca=None, key_bits=None, key_type=None, locality=None, max_path_length=None, organization=None, other_sans=None, ou=None, permitted_dns_domains=None, postal_code=None, private_key_format=None, province=None, serial=None, street_address=None, ttl=None, type=None, uri_sans=None, __props__=None);func GetSecretBackendRootCert(ctx *Context, name string, id IDInput, state *SecretBackendRootCertState, opts ...ResourceOption) (*SecretBackendRootCert, error)public static SecretBackendRootCert Get(string name, Input<string> id, SecretBackendRootCertState? 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:
- Alt
Names List<string> List of alternative names
- Backend string
The PKI secret backend the resource belongs to.
- Certificate string
The certificate
- Common
Name string CN of intermediate to create
- 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
- Issuing
Ca string The issuing CA
- Key
Bits int The number of bits to use
- Key
Type string The desired key type
- Locality string
The locality
- Max
Path intLength The maximum path length to encode in the generated certificate
- 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
- Private
Key stringFormat The private key format
- Province string
The province
- Serial string
The serial
- Street
Address string The street address
- Ttl string
Time to live
- Type string
Type of intermediate to create. Must be either \“exported\” or \“internal\”
- Uri
Sans List<string> List of alternative URIs
- Alt
Names []string List of alternative names
- Backend string
The PKI secret backend the resource belongs to.
- Certificate string
The certificate
- Common
Name string CN of intermediate to create
- 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
- Issuing
Ca string The issuing CA
- Key
Bits int The number of bits to use
- Key
Type string The desired key type
- Locality string
The locality
- Max
Path intLength The maximum path length to encode in the generated certificate
- 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
- Private
Key stringFormat The private key format
- Province string
The province
- Serial string
The serial
- Street
Address string The street address
- Ttl string
Time to live
- Type string
Type of intermediate to create. Must be either \“exported\” or \“internal\”
- Uri
Sans []string List of alternative URIs
- alt
Names string[] List of alternative names
- backend string
The PKI secret backend the resource belongs to.
- certificate string
The certificate
- common
Name string CN of intermediate to create
- 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
- issuing
Ca string The issuing CA
- key
Bits number The number of bits to use
- key
Type string The desired key type
- locality string
The locality
- max
Path numberLength The maximum path length to encode in the generated certificate
- 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
- private
Key stringFormat The private key format
- province string
The province
- serial string
The serial
- street
Address string The street address
- ttl string
Time to live
- type string
Type of intermediate to create. Must be either \“exported\” or \“internal\”
- uri
Sans string[] List of alternative URIs
- alt_
names List[str] List of alternative names
- backend str
The PKI secret backend the resource belongs to.
- certificate str
The certificate
- common_
name str CN of intermediate to create
- country str
The country
- exclude_
cn_ boolfrom_ sans Flag to exclude CN from SANs
- format str
The format of data
- ip_
sans List[str] List of alternative IPs
- issuing_
ca str The issuing CA
- key_
bits float The number of bits to use
- key_
type str The desired key type
- locality str
The locality
- max_
path_ floatlength The maximum path length to encode in the generated certificate
- organization str
The organization
- other_
sans List[str] List of other SANs
- ou str
The organization unit
- permitted_
dns_ List[str]domains List of domains for which certificates are allowed to be issued
- postal_
code str The postal code
- private_
key_ strformat The private key format
- province str
The province
- serial str
The serial
- street_
address str The street address
- ttl str
Time to live
- type str
Type of intermediate to create. Must be either \“exported\” or \“internal\”
- uri_
sans List[str] List of alternative URIs
Package Details
- Repository
- https://github.com/pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vaultTerraform Provider.