CertRequest
Create a CertRequest Resource
new CertRequest(name: string, args: CertRequestArgs, opts?: CustomResourceOptions);def CertRequest(resource_name, opts=None, dns_names=None, ip_addresses=None, key_algorithm=None, private_key_pem=None, subjects=None, uris=None, __props__=None);func NewCertRequest(ctx *Context, name string, args CertRequestArgs, opts ...ResourceOption) (*CertRequest, error)public CertRequest(string name, CertRequestArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args CertRequestArgs
- 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 CertRequestArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CertRequestArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
CertRequest Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The CertRequest resource accepts the following input properties:
- Key
Algorithm string The name of the algorithm for the key provided in
private_key_pem.- Private
Key stringPem PEM-encoded private key that the certificate will belong to
- Subjects
List<Cert
Request Subject Args> The subject for which a certificate is being requested. This is a nested configuration block whose structure is described below.
- Dns
Names List<string> List of DNS names for which a certificate is being requested.
- Ip
Addresses List<string> List of IP addresses for which a certificate is being requested.
- Uris List<string>
List of URIs for which a certificate is being requested.
- Key
Algorithm string The name of the algorithm for the key provided in
private_key_pem.- Private
Key stringPem PEM-encoded private key that the certificate will belong to
- Subjects
[]Cert
Request Subject The subject for which a certificate is being requested. This is a nested configuration block whose structure is described below.
- Dns
Names []string List of DNS names for which a certificate is being requested.
- Ip
Addresses []string List of IP addresses for which a certificate is being requested.
- Uris []string
List of URIs for which a certificate is being requested.
- key
Algorithm string The name of the algorithm for the key provided in
private_key_pem.- private
Key stringPem PEM-encoded private key that the certificate will belong to
- subjects
Cert
Request Subject[] The subject for which a certificate is being requested. This is a nested configuration block whose structure is described below.
- dns
Names string[] List of DNS names for which a certificate is being requested.
- ip
Addresses string[] List of IP addresses for which a certificate is being requested.
- uris string[]
List of URIs for which a certificate is being requested.
- key_
algorithm str The name of the algorithm for the key provided in
private_key_pem.- private_
key_ strpem PEM-encoded private key that the certificate will belong to
- subjects
List[Cert
Request Subject] The subject for which a certificate is being requested. This is a nested configuration block whose structure is described below.
- dns_
names List[str] List of DNS names for which a certificate is being requested.
- ip_
addresses List[str] List of IP addresses for which a certificate is being requested.
- uris List[str]
List of URIs for which a certificate is being requested.
Outputs
All input properties are implicitly available as output properties. Additionally, the CertRequest resource produces the following output properties:
- Cert
Request stringPem The certificate request data in PEM format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Cert
Request stringPem The certificate request data in PEM format.
- Id string
- The provider-assigned unique ID for this managed resource.
- cert
Request stringPem The certificate request data in PEM format.
- id string
- The provider-assigned unique ID for this managed resource.
- cert_
request_ strpem The certificate request data in PEM format.
- id str
- The provider-assigned unique ID for this managed resource.
Look up an Existing CertRequest Resource
Get an existing CertRequest 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?: CertRequestState, opts?: CustomResourceOptions): CertRequeststatic get(resource_name, id, opts=None, cert_request_pem=None, dns_names=None, ip_addresses=None, key_algorithm=None, private_key_pem=None, subjects=None, uris=None, __props__=None);func GetCertRequest(ctx *Context, name string, id IDInput, state *CertRequestState, opts ...ResourceOption) (*CertRequest, error)public static CertRequest Get(string name, Input<string> id, CertRequestState? 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:
- Cert
Request stringPem The certificate request data in PEM format.
- Dns
Names List<string> List of DNS names for which a certificate is being requested.
- Ip
Addresses List<string> List of IP addresses for which a certificate is being requested.
- Key
Algorithm string The name of the algorithm for the key provided in
private_key_pem.- Private
Key stringPem PEM-encoded private key that the certificate will belong to
- Subjects
List<Cert
Request Subject Args> The subject for which a certificate is being requested. This is a nested configuration block whose structure is described below.
- Uris List<string>
List of URIs for which a certificate is being requested.
- Cert
Request stringPem The certificate request data in PEM format.
- Dns
Names []string List of DNS names for which a certificate is being requested.
- Ip
Addresses []string List of IP addresses for which a certificate is being requested.
- Key
Algorithm string The name of the algorithm for the key provided in
private_key_pem.- Private
Key stringPem PEM-encoded private key that the certificate will belong to
- Subjects
[]Cert
Request Subject The subject for which a certificate is being requested. This is a nested configuration block whose structure is described below.
- Uris []string
List of URIs for which a certificate is being requested.
- cert
Request stringPem The certificate request data in PEM format.
- dns
Names string[] List of DNS names for which a certificate is being requested.
- ip
Addresses string[] List of IP addresses for which a certificate is being requested.
- key
Algorithm string The name of the algorithm for the key provided in
private_key_pem.- private
Key stringPem PEM-encoded private key that the certificate will belong to
- subjects
Cert
Request Subject[] The subject for which a certificate is being requested. This is a nested configuration block whose structure is described below.
- uris string[]
List of URIs for which a certificate is being requested.
- cert_
request_ strpem The certificate request data in PEM format.
- dns_
names List[str] List of DNS names for which a certificate is being requested.
- ip_
addresses List[str] List of IP addresses for which a certificate is being requested.
- key_
algorithm str The name of the algorithm for the key provided in
private_key_pem.- private_
key_ strpem PEM-encoded private key that the certificate will belong to
- subjects
List[Cert
Request Subject] The subject for which a certificate is being requested. This is a nested configuration block whose structure is described below.
- uris List[str]
List of URIs for which a certificate is being requested.
Supporting Types
CertRequestSubject
Package Details
- Repository
- https://github.com/pulumi/pulumi-tls
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
tlsTerraform Provider.