Certificate Class
SSL certificate for an app.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
Constructor
Certificate(*, location: str, kind: str | None = None, tags: Dict[str, str] | None = None, password: str | None = None, host_names: List[str] | None = None, pfx_blob: bytes | None = None, key_vault_id: str | None = None, key_vault_secret_name: str | None = None, server_farm_id: str | None = None, canonical_name: str | None = None, domain_validation_method: str | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
kind
|
Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. Default value: None
|
|
location
|
Resource Location. Required. |
|
tags
|
Resource tags. Default value: None
|
|
password
|
Certificate password. Default value: None
|
|
host_names
|
Host names the certificate applies to. Default value: None
|
|
pfx_blob
|
Pfx blob. Default value: None
|
|
key_vault_id
|
Azure Key Vault Csm resource Id. Default value: None
|
|
key_vault_secret_name
|
Azure Key Vault secret name. Default value: None
|
|
server_farm_id
|
Resource ID of the associated App Service plan. Default value: None
|
|
canonical_name
|
CNAME of the certificate to be issued via free certificate. Default value: None
|
|
domain_validation_method
|
Method of domain validation for free cert. Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
Resource Id. |
|
name
|
Resource Name. |
|
kind
|
Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. |
|
location
|
Resource Location. Required. |
|
type
|
Resource type. |
|
tags
|
Resource tags. |
|
password
|
Certificate password. |
|
friendly_name
|
Friendly name of the certificate. |
|
subject_name
|
Subject name of the certificate. |
|
host_names
|
Host names the certificate applies to. |
|
pfx_blob
|
Pfx blob. |
|
site_name
|
App name. |
|
self_link
|
Self link. |
|
issuer
|
Certificate issuer. |
|
issue_date
|
Certificate issue Date. |
|
expiration_date
|
Certificate expiration date. |
|
thumbprint
|
Certificate thumbprint. |
|
valid
|
Is the certificate valid?. |
|
cer_blob
|
Raw bytes of .cer file. |
|
public_key_hash
|
Public key hash. |
|
hosting_environment_profile
|
Specification for the App Service Environment to use for the certificate. |
|
key_vault_id
|
Azure Key Vault Csm resource Id. |
|
key_vault_secret_name
|
Azure Key Vault secret name. |
|
key_vault_secret_status
|
Status of the Key Vault secret. Known values are: "Initialized", "WaitingOnCertificateOrder", "Succeeded", "CertificateOrderFailed", "OperationNotPermittedOnKeyVault", "AzureServiceUnauthorizedToAccessKeyVault", "KeyVaultDoesNotExist", "KeyVaultSecretDoesNotExist", "UnknownError", "ExternalPrivateKey", and "Unknown". |
|
server_farm_id
|
Resource ID of the associated App Service plan. |
|
canonical_name
|
CNAME of the certificate to be issued via free certificate. |
|
domain_validation_method
|
Method of domain validation for free cert. |