SecretBackendSign
Create a SecretBackendSign Resource
new SecretBackendSign(name: string, args: SecretBackendSignArgs, opts?: CustomResourceOptions);def SecretBackendSign(resource_name, opts=None, alt_names=None, auto_renew=None, backend=None, common_name=None, csr=None, exclude_cn_from_sans=None, format=None, ip_sans=None, min_seconds_remaining=None, name=None, other_sans=None, ttl=None, uri_sans=None, __props__=None);func NewSecretBackendSign(ctx *Context, name string, args SecretBackendSignArgs, opts ...ResourceOption) (*SecretBackendSign, error)public SecretBackendSign(string name, SecretBackendSignArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args SecretBackendSignArgs
- 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 SecretBackendSignArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecretBackendSignArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
SecretBackendSign Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The SecretBackendSign resource accepts the following input properties:
- Backend string
The PKI secret backend the resource belongs to.
- Common
Name string CN of certificate to create
- Csr string
The CSR
- Alt
Names List<string> List of alternative names
- Auto
Renew bool If set to
true, certs will be renewed if the expiration is withinmin_seconds_remaining. Defaultfalse- Exclude
Cn boolFrom Sans Flag to exclude CN from SANs
- Format string
The format of data
- Ip
Sans List<string> List of alternative IPs
- Min
Seconds intRemaining Generate a new certificate when the expiration is within this number of seconds, default is 604800 (7 days)
- Name string
Name of the role to create the certificate against
- Other
Sans List<string> List of other SANs
- Ttl string
Time to live
- Uri
Sans List<string> List of alterative URIs
- Backend string
The PKI secret backend the resource belongs to.
- Common
Name string CN of certificate to create
- Csr string
The CSR
- Alt
Names []string List of alternative names
- Auto
Renew bool If set to
true, certs will be renewed if the expiration is withinmin_seconds_remaining. Defaultfalse- Exclude
Cn boolFrom Sans Flag to exclude CN from SANs
- Format string
The format of data
- Ip
Sans []string List of alternative IPs
- Min
Seconds intRemaining Generate a new certificate when the expiration is within this number of seconds, default is 604800 (7 days)
- Name string
Name of the role to create the certificate against
- Other
Sans []string List of other SANs
- Ttl string
Time to live
- Uri
Sans []string List of alterative URIs
- backend string
The PKI secret backend the resource belongs to.
- common
Name string CN of certificate to create
- csr string
The CSR
- alt
Names string[] List of alternative names
- auto
Renew boolean If set to
true, certs will be renewed if the expiration is withinmin_seconds_remaining. Defaultfalse- exclude
Cn booleanFrom Sans Flag to exclude CN from SANs
- format string
The format of data
- ip
Sans string[] List of alternative IPs
- min
Seconds numberRemaining Generate a new certificate when the expiration is within this number of seconds, default is 604800 (7 days)
- name string
Name of the role to create the certificate against
- other
Sans string[] List of other SANs
- ttl string
Time to live
- uri
Sans string[] List of alterative URIs
- backend str
The PKI secret backend the resource belongs to.
- common_
name str CN of certificate to create
- csr str
The CSR
- alt_
names List[str] List of alternative names
- auto_
renew bool If set to
true, certs will be renewed if the expiration is withinmin_seconds_remaining. Defaultfalse- exclude_
cn_ boolfrom_ sans Flag to exclude CN from SANs
- format str
The format of data
- ip_
sans List[str] List of alternative IPs
- min_
seconds_ floatremaining Generate a new certificate when the expiration is within this number of seconds, default is 604800 (7 days)
- name str
Name of the role to create the certificate against
- other_
sans List[str] List of other SANs
- ttl str
Time to live
- uri_
sans List[str] List of alterative URIs
Outputs
All input properties are implicitly available as output properties. Additionally, the SecretBackendSign resource produces the following output properties:
- Ca
Chains List<string> The CA chain
- Certificate string
The certificate
- Expiration int
The expiration date of the certificate in unix epoch format
- Id string
- The provider-assigned unique ID for this managed resource.
- Issuing
Ca string The issuing CA
- Serial string
The serial
- ca_
chains List[str] The CA chain
- certificate str
The certificate
- expiration float
The expiration date of the certificate in unix epoch format
- 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 SecretBackendSign Resource
Get an existing SecretBackendSign 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?: SecretBackendSignState, opts?: CustomResourceOptions): SecretBackendSignstatic get(resource_name, id, opts=None, alt_names=None, auto_renew=None, backend=None, ca_chains=None, certificate=None, common_name=None, csr=None, exclude_cn_from_sans=None, expiration=None, format=None, ip_sans=None, issuing_ca=None, min_seconds_remaining=None, name=None, other_sans=None, serial=None, ttl=None, uri_sans=None, __props__=None);func GetSecretBackendSign(ctx *Context, name string, id IDInput, state *SecretBackendSignState, opts ...ResourceOption) (*SecretBackendSign, error)public static SecretBackendSign Get(string name, Input<string> id, SecretBackendSignState? 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
- Auto
Renew bool If set to
true, certs will be renewed if the expiration is withinmin_seconds_remaining. Defaultfalse- Backend string
The PKI secret backend the resource belongs to.
- Ca
Chains List<string> The CA chain
- Certificate string
The certificate
- Common
Name string CN of certificate to create
- Csr string
The CSR
- Exclude
Cn boolFrom Sans Flag to exclude CN from SANs
- Expiration int
The expiration date of the certificate in unix epoch format
- Format string
The format of data
- Ip
Sans List<string> List of alternative IPs
- Issuing
Ca string The issuing CA
- Min
Seconds intRemaining Generate a new certificate when the expiration is within this number of seconds, default is 604800 (7 days)
- Name string
Name of the role to create the certificate against
- Other
Sans List<string> List of other SANs
- Serial string
The serial
- Ttl string
Time to live
- Uri
Sans List<string> List of alterative URIs
- Alt
Names []string List of alternative names
- Auto
Renew bool If set to
true, certs will be renewed if the expiration is withinmin_seconds_remaining. Defaultfalse- Backend string
The PKI secret backend the resource belongs to.
- Ca
Chains []string The CA chain
- Certificate string
The certificate
- Common
Name string CN of certificate to create
- Csr string
The CSR
- Exclude
Cn boolFrom Sans Flag to exclude CN from SANs
- Expiration int
The expiration date of the certificate in unix epoch format
- Format string
The format of data
- Ip
Sans []string List of alternative IPs
- Issuing
Ca string The issuing CA
- Min
Seconds intRemaining Generate a new certificate when the expiration is within this number of seconds, default is 604800 (7 days)
- Name string
Name of the role to create the certificate against
- Other
Sans []string List of other SANs
- Serial string
The serial
- Ttl string
Time to live
- Uri
Sans []string List of alterative URIs
- alt
Names string[] List of alternative names
- auto
Renew boolean If set to
true, certs will be renewed if the expiration is withinmin_seconds_remaining. Defaultfalse- backend string
The PKI secret backend the resource belongs to.
- ca
Chains string[] The CA chain
- certificate string
The certificate
- common
Name string CN of certificate to create
- csr string
The CSR
- exclude
Cn booleanFrom Sans Flag to exclude CN from SANs
- expiration number
The expiration date of the certificate in unix epoch format
- format string
The format of data
- ip
Sans string[] List of alternative IPs
- issuing
Ca string The issuing CA
- min
Seconds numberRemaining Generate a new certificate when the expiration is within this number of seconds, default is 604800 (7 days)
- name string
Name of the role to create the certificate against
- other
Sans string[] List of other SANs
- serial string
The serial
- ttl string
Time to live
- uri
Sans string[] List of alterative URIs
- alt_
names List[str] List of alternative names
- auto_
renew bool If set to
true, certs will be renewed if the expiration is withinmin_seconds_remaining. Defaultfalse- backend str
The PKI secret backend the resource belongs to.
- ca_
chains List[str] The CA chain
- certificate str
The certificate
- common_
name str CN of certificate to create
- csr str
The CSR
- exclude_
cn_ boolfrom_ sans Flag to exclude CN from SANs
- expiration float
The expiration date of the certificate in unix epoch format
- format str
The format of data
- ip_
sans List[str] List of alternative IPs
- issuing_
ca str The issuing CA
- min_
seconds_ floatremaining Generate a new certificate when the expiration is within this number of seconds, default is 604800 (7 days)
- name str
Name of the role to create the certificate against
- other_
sans List[str] List of other SANs
- serial str
The serial
- ttl str
Time to live
- uri_
sans List[str] List of alterative URIs
Package Details
- Repository
- https://github.com/pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vaultTerraform Provider.