Certifiate
Manages a Key Vault Certificate.
Deprecated: azure.keyvault.Certifiate has been deprecated in favor of azure.keyvault.Certificate
Create a Certifiate Resource
new Certifiate(name: string, args: CertifiateArgs, opts?: CustomResourceOptions);def Certifiate(resource_name, opts=None, certificate=None, certificate_policy=None, key_vault_id=None, name=None, tags=None, __props__=None);func NewCertifiate(ctx *Context, name string, args CertifiateArgs, opts ...ResourceOption) (*Certifiate, error)public Certifiate(string name, CertifiateArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args CertifiateArgs
- 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 CertifiateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CertifiateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Certifiate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Certifiate resource accepts the following input properties:
- Certificate
Policy CertifiateCertificate Policy Args A
certificate_policyblock as defined below.- Key
Vault stringId The ID of the Key Vault where the Certificate should be created.
- Key
Vault CertifiateCertificate Certificate Args A
certificateblock as defined below, used to Import an existing certificate.- Name string
Specifies the name of the Key Vault Certificate. Changing this forces a new resource to be created.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Certificate
Policy CertifiateCertificate Policy A
certificate_policyblock as defined below.- Key
Vault stringId The ID of the Key Vault where the Certificate should be created.
- Certificate
Certifiate
Certificate A
certificateblock as defined below, used to Import an existing certificate.- Name string
Specifies the name of the Key Vault Certificate. Changing this forces a new resource to be created.
- map[string]string
A mapping of tags to assign to the resource.
- certificate
Policy CertifiateCertificate Policy A
certificate_policyblock as defined below.- key
Vault stringId The ID of the Key Vault where the Certificate should be created.
- certificate
Certifiate
Certificate A
certificateblock as defined below, used to Import an existing certificate.- name string
Specifies the name of the Key Vault Certificate. Changing this forces a new resource to be created.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- certificate_
policy Dict[CertifiateCertificate Policy] A
certificate_policyblock as defined below.- key_
vault_ strid The ID of the Key Vault where the Certificate should be created.
- certificate
Dict[Certifiate
Certificate] A
certificateblock as defined below, used to Import an existing certificate.- name str
Specifies the name of the Key Vault Certificate. Changing this forces a new resource to be created.
- Dict[str, str]
A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Certifiate resource produces the following output properties:
- Certificate
Data string The raw Key Vault Certificate data represented as a hexadecimal string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Secret
Id string The ID of the associated Key Vault Secret.
- Thumbprint string
The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
- Version string
The current version of the Key Vault Certificate.
- Certificate
Data string The raw Key Vault Certificate data represented as a hexadecimal string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Secret
Id string The ID of the associated Key Vault Secret.
- Thumbprint string
The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
- Version string
The current version of the Key Vault Certificate.
- certificate
Data string The raw Key Vault Certificate data represented as a hexadecimal string.
- id string
- The provider-assigned unique ID for this managed resource.
- secret
Id string The ID of the associated Key Vault Secret.
- thumbprint string
The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
- version string
The current version of the Key Vault Certificate.
- certificate_
data str The raw Key Vault Certificate data represented as a hexadecimal string.
- id str
- The provider-assigned unique ID for this managed resource.
- secret_
id str The ID of the associated Key Vault Secret.
- thumbprint str
The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
- version str
The current version of the Key Vault Certificate.
Look up an Existing Certifiate Resource
Get an existing Certifiate 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?: CertifiateState, opts?: CustomResourceOptions): Certifiatestatic get(resource_name, id, opts=None, certificate=None, certificate_data=None, certificate_policy=None, key_vault_id=None, name=None, secret_id=None, tags=None, thumbprint=None, version=None, __props__=None);func GetCertifiate(ctx *Context, name string, id IDInput, state *CertifiateState, opts ...ResourceOption) (*Certifiate, error)public static Certifiate Get(string name, Input<string> id, CertifiateState? 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:
- Certificate
Data string The raw Key Vault Certificate data represented as a hexadecimal string.
- Certificate
Policy CertifiateCertificate Policy Args A
certificate_policyblock as defined below.- Key
Vault CertifiateCertificate Certificate Args A
certificateblock as defined below, used to Import an existing certificate.- Key
Vault stringId The ID of the Key Vault where the Certificate should be created.
- Name string
Specifies the name of the Key Vault Certificate. Changing this forces a new resource to be created.
- Secret
Id string The ID of the associated Key Vault Secret.
- Dictionary<string, string>
A mapping of tags to assign to the resource.
- Thumbprint string
The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
- Version string
The current version of the Key Vault Certificate.
- Certificate
Certifiate
Certificate A
certificateblock as defined below, used to Import an existing certificate.- Certificate
Data string The raw Key Vault Certificate data represented as a hexadecimal string.
- Certificate
Policy CertifiateCertificate Policy A
certificate_policyblock as defined below.- Key
Vault stringId The ID of the Key Vault where the Certificate should be created.
- Name string
Specifies the name of the Key Vault Certificate. Changing this forces a new resource to be created.
- Secret
Id string The ID of the associated Key Vault Secret.
- map[string]string
A mapping of tags to assign to the resource.
- Thumbprint string
The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
- Version string
The current version of the Key Vault Certificate.
- certificate
Certifiate
Certificate A
certificateblock as defined below, used to Import an existing certificate.- certificate
Data string The raw Key Vault Certificate data represented as a hexadecimal string.
- certificate
Policy CertifiateCertificate Policy A
certificate_policyblock as defined below.- key
Vault stringId The ID of the Key Vault where the Certificate should be created.
- name string
Specifies the name of the Key Vault Certificate. Changing this forces a new resource to be created.
- secret
Id string The ID of the associated Key Vault Secret.
- {[key: string]: string}
A mapping of tags to assign to the resource.
- thumbprint string
The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
- version string
The current version of the Key Vault Certificate.
- certificate
Dict[Certifiate
Certificate] A
certificateblock as defined below, used to Import an existing certificate.- certificate_
data str The raw Key Vault Certificate data represented as a hexadecimal string.
- certificate_
policy Dict[CertifiateCertificate Policy] A
certificate_policyblock as defined below.- key_
vault_ strid The ID of the Key Vault where the Certificate should be created.
- name str
Specifies the name of the Key Vault Certificate. Changing this forces a new resource to be created.
- secret_
id str The ID of the associated Key Vault Secret.
- Dict[str, str]
A mapping of tags to assign to the resource.
- thumbprint str
The X509 Thumbprint of the Key Vault Certificate represented as a hexadecimal string.
- version str
The current version of the Key Vault Certificate.
Supporting Types
CertifiateCertificate
CertifiateCertificatePolicy
- Issuer
Parameters CertifiateCertificate Policy Issuer Parameters Args A
issuer_parametersblock as defined below.- Key
Properties CertifiateCertificate Policy Key Properties Args A
key_propertiesblock as defined below.- Secret
Properties CertifiateCertificate Policy Secret Properties Args A
secret_propertiesblock as defined below.- Lifetime
Actions List<CertifiateCertificate Policy Lifetime Action Args> A
lifetime_actionblock as defined below.- X509Certificate
Properties CertifiateCertificate Policy X509Certificate Properties Args A
x509_certificate_propertiesblock as defined below. Required whencertificateblock is not specified.
- Issuer
Parameters CertifiateCertificate Policy Issuer Parameters A
issuer_parametersblock as defined below.- Key
Properties CertifiateCertificate Policy Key Properties A
key_propertiesblock as defined below.- Secret
Properties CertifiateCertificate Policy Secret Properties A
secret_propertiesblock as defined below.- Lifetime
Actions []CertifiateCertificate Policy Lifetime Action A
lifetime_actionblock as defined below.- X509Certificate
Properties CertifiateCertificate Policy X509Certificate Properties A
x509_certificate_propertiesblock as defined below. Required whencertificateblock is not specified.
- issuer
Parameters CertifiateCertificate Policy Issuer Parameters A
issuer_parametersblock as defined below.- key
Properties CertifiateCertificate Policy Key Properties A
key_propertiesblock as defined below.- secret
Properties CertifiateCertificate Policy Secret Properties A
secret_propertiesblock as defined below.- lifetime
Actions CertifiateCertificate Policy Lifetime Action[] A
lifetime_actionblock as defined below.- x509Certificate
Properties CertifiateCertificate Policy X509Certificate Properties A
x509_certificate_propertiesblock as defined below. Required whencertificateblock is not specified.
- issuer
Parameters Dict[CertifiateCertificate Policy Issuer Parameters] A
issuer_parametersblock as defined below.- key_
properties Dict[CertifiateCertificate Policy Key Properties] A
key_propertiesblock as defined below.- secret
Properties Dict[CertifiateCertificate Policy Secret Properties] A
secret_propertiesblock as defined below.- lifetime
Actions List[CertifiateCertificate Policy Lifetime Action] A
lifetime_actionblock as defined below.- x509Certificate
Properties Dict[CertifiateCertificate Policy X509Certificate Properties] A
x509_certificate_propertiesblock as defined below. Required whencertificateblock is not specified.
CertifiateCertificatePolicyIssuerParameters
CertifiateCertificatePolicyKeyProperties
- Exportable bool
Is this Certificate Exportable? Changing this forces a new resource to be created.
- Key
Size int The size of the Key used in the Certificate. Possible values include
2048and4096. Changing this forces a new resource to be created.- Key
Type string Specifies the Type of Key, such as
RSA. Changing this forces a new resource to be created.- Reuse
Key bool Is the key reusable? Changing this forces a new resource to be created.
- Exportable bool
Is this Certificate Exportable? Changing this forces a new resource to be created.
- Key
Size int The size of the Key used in the Certificate. Possible values include
2048and4096. Changing this forces a new resource to be created.- Key
Type string Specifies the Type of Key, such as
RSA. Changing this forces a new resource to be created.- Reuse
Key bool Is the key reusable? Changing this forces a new resource to be created.
- exportable boolean
Is this Certificate Exportable? Changing this forces a new resource to be created.
- key
Size number The size of the Key used in the Certificate. Possible values include
2048and4096. Changing this forces a new resource to be created.- key
Type string Specifies the Type of Key, such as
RSA. Changing this forces a new resource to be created.- reuse
Key boolean Is the key reusable? Changing this forces a new resource to be created.
- exportable bool
Is this Certificate Exportable? Changing this forces a new resource to be created.
- key_
size float The size of the Key used in the Certificate. Possible values include
2048and4096. Changing this forces a new resource to be created.- key_
type str Specifies the Type of Key, such as
RSA. Changing this forces a new resource to be created.- reuse
Key bool Is the key reusable? Changing this forces a new resource to be created.
CertifiateCertificatePolicyLifetimeAction
- Action
Certifiate
Certificate Policy Lifetime Action Action Args A
actionblock as defined below.- Trigger
Certifiate
Certificate Policy Lifetime Action Trigger Args A
triggerblock as defined below.
- Action
Certifiate
Certificate Policy Lifetime Action Action A
actionblock as defined below.- Trigger
Certifiate
Certificate Policy Lifetime Action Trigger A
triggerblock as defined below.
- action
Certifiate
Certificate Policy Lifetime Action Action A
actionblock as defined below.- trigger
Certifiate
Certificate Policy Lifetime Action Trigger A
triggerblock as defined below.
- action
Dict[Certifiate
Certificate Policy Lifetime Action Action] A
actionblock as defined below.- trigger
Dict[Certifiate
Certificate Policy Lifetime Action Trigger] A
triggerblock as defined below.
CertifiateCertificatePolicyLifetimeActionAction
- Action
Type string The Type of action to be performed when the lifetime trigger is triggerec. Possible values include
AutoRenewandEmailContacts. Changing this forces a new resource to be created.
- Action
Type string The Type of action to be performed when the lifetime trigger is triggerec. Possible values include
AutoRenewandEmailContacts. Changing this forces a new resource to be created.
- action
Type string The Type of action to be performed when the lifetime trigger is triggerec. Possible values include
AutoRenewandEmailContacts. Changing this forces a new resource to be created.
- action
Type str The Type of action to be performed when the lifetime trigger is triggerec. Possible values include
AutoRenewandEmailContacts. Changing this forces a new resource to be created.
CertifiateCertificatePolicyLifetimeActionTrigger
- Days
Before intExpiry The number of days before the Certificate expires that the action associated with this Trigger should run. Changing this forces a new resource to be created. Conflicts with
lifetime_percentage.- Lifetime
Percentage int The percentage at which during the Certificates Lifetime the action associated with this Trigger should run. Changing this forces a new resource to be created. Conflicts with
days_before_expiry.
- Days
Before intExpiry The number of days before the Certificate expires that the action associated with this Trigger should run. Changing this forces a new resource to be created. Conflicts with
lifetime_percentage.- Lifetime
Percentage int The percentage at which during the Certificates Lifetime the action associated with this Trigger should run. Changing this forces a new resource to be created. Conflicts with
days_before_expiry.
- days
Before numberExpiry The number of days before the Certificate expires that the action associated with this Trigger should run. Changing this forces a new resource to be created. Conflicts with
lifetime_percentage.- lifetime
Percentage number The percentage at which during the Certificates Lifetime the action associated with this Trigger should run. Changing this forces a new resource to be created. Conflicts with
days_before_expiry.
- days
Before floatExpiry The number of days before the Certificate expires that the action associated with this Trigger should run. Changing this forces a new resource to be created. Conflicts with
lifetime_percentage.- lifetime
Percentage float The percentage at which during the Certificates Lifetime the action associated with this Trigger should run. Changing this forces a new resource to be created. Conflicts with
days_before_expiry.
CertifiateCertificatePolicySecretProperties
- Content
Type string The Content-Type of the Certificate, such as
application/x-pkcs12for a PFX orapplication/x-pem-filefor a PEM. Changing this forces a new resource to be created.
- Content
Type string The Content-Type of the Certificate, such as
application/x-pkcs12for a PFX orapplication/x-pem-filefor a PEM. Changing this forces a new resource to be created.
- content
Type string The Content-Type of the Certificate, such as
application/x-pkcs12for a PFX orapplication/x-pem-filefor a PEM. Changing this forces a new resource to be created.
- content_
type str The Content-Type of the Certificate, such as
application/x-pkcs12for a PFX orapplication/x-pem-filefor a PEM. Changing this forces a new resource to be created.
CertifiateCertificatePolicyX509CertificateProperties
- Key
Usages List<string> A list of uses associated with this Key. Possible values include
cRLSign,dataEncipherment,decipherOnly,digitalSignature,encipherOnly,keyAgreement,keyCertSign,keyEnciphermentandnonRepudiationand are case-sensitive. Changing this forces a new resource to be created.- Subject string
The Certificate’s Subject. Changing this forces a new resource to be created.
- Validity
In intMonths The Certificates Validity Period in Months. Changing this forces a new resource to be created.
- Extended
Key List<string>Usages A list of Extended/Enhanced Key Usages. Changing this forces a new resource to be created.
- Subject
Alternative CertifiateNames Certificate Policy X509Certificate Properties Subject Alternative Names Args A
subject_alternative_namesblock as defined below.
- Key
Usages []string A list of uses associated with this Key. Possible values include
cRLSign,dataEncipherment,decipherOnly,digitalSignature,encipherOnly,keyAgreement,keyCertSign,keyEnciphermentandnonRepudiationand are case-sensitive. Changing this forces a new resource to be created.- Subject string
The Certificate’s Subject. Changing this forces a new resource to be created.
- Validity
In intMonths The Certificates Validity Period in Months. Changing this forces a new resource to be created.
- Extended
Key []stringUsages A list of Extended/Enhanced Key Usages. Changing this forces a new resource to be created.
- Subject
Alternative CertifiateNames Certificate Policy X509Certificate Properties Subject Alternative Names A
subject_alternative_namesblock as defined below.
- key
Usages string[] A list of uses associated with this Key. Possible values include
cRLSign,dataEncipherment,decipherOnly,digitalSignature,encipherOnly,keyAgreement,keyCertSign,keyEnciphermentandnonRepudiationand are case-sensitive. Changing this forces a new resource to be created.- subject string
The Certificate’s Subject. Changing this forces a new resource to be created.
- validity
In numberMonths The Certificates Validity Period in Months. Changing this forces a new resource to be created.
- extended
Key string[]Usages A list of Extended/Enhanced Key Usages. Changing this forces a new resource to be created.
- subject
Alternative CertifiateNames Certificate Policy X509Certificate Properties Subject Alternative Names A
subject_alternative_namesblock as defined below.
- key
Usages List[str] A list of uses associated with this Key. Possible values include
cRLSign,dataEncipherment,decipherOnly,digitalSignature,encipherOnly,keyAgreement,keyCertSign,keyEnciphermentandnonRepudiationand are case-sensitive. Changing this forces a new resource to be created.- subject str
The Certificate’s Subject. Changing this forces a new resource to be created.
- validity
In floatMonths The Certificates Validity Period in Months. Changing this forces a new resource to be created.
- extended
Key List[str]Usages A list of Extended/Enhanced Key Usages. Changing this forces a new resource to be created.
- subject
Alternative Dict[CertifiateNames Certificate Policy X509Certificate Properties Subject Alternative Names] A
subject_alternative_namesblock as defined below.
CertifiateCertificatePolicyX509CertificatePropertiesSubjectAlternativeNames
- Dns
Names List<string> A list of alternative DNS names (FQDNs) identified by the Certificate. Changing this forces a new resource to be created.
- Emails List<string>
A list of email addresses identified by this Certificate. Changing this forces a new resource to be created.
- Upns List<string>
A list of User Principal Names identified by the Certificate. Changing this forces a new resource to be created.
- Dns
Names []string A list of alternative DNS names (FQDNs) identified by the Certificate. Changing this forces a new resource to be created.
- Emails []string
A list of email addresses identified by this Certificate. Changing this forces a new resource to be created.
- Upns []string
A list of User Principal Names identified by the Certificate. Changing this forces a new resource to be created.
- dns
Names string[] A list of alternative DNS names (FQDNs) identified by the Certificate. Changing this forces a new resource to be created.
- emails string[]
A list of email addresses identified by this Certificate. Changing this forces a new resource to be created.
- upns string[]
A list of User Principal Names identified by the Certificate. Changing this forces a new resource to be created.
- dns
Names List[str] A list of alternative DNS names (FQDNs) identified by the Certificate. Changing this forces a new resource to be created.
- emails List[str]
A list of email addresses identified by this Certificate. Changing this forces a new resource to be created.
- upns List[str]
A list of User Principal Names identified by the Certificate. Changing this forces a new resource to be created.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.