This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi
azure-native.web.getSiteCertificate
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi
SSL certificate for an app.
Uses Azure REST API version 2024-11-01.
Using getSiteCertificate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSiteCertificate(args: GetSiteCertificateArgs, opts?: InvokeOptions): Promise<GetSiteCertificateResult>
function getSiteCertificateOutput(args: GetSiteCertificateOutputArgs, opts?: InvokeOptions): Output<GetSiteCertificateResult>
def get_site_certificate(certificate_name: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSiteCertificateResult
def get_site_certificate_output(certificate_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSiteCertificateResult]
func LookupSiteCertificate(ctx *Context, args *LookupSiteCertificateArgs, opts ...InvokeOption) (*LookupSiteCertificateResult, error)
func LookupSiteCertificateOutput(ctx *Context, args *LookupSiteCertificateOutputArgs, opts ...InvokeOption) LookupSiteCertificateResultOutput
> Note: This function is named LookupSiteCertificate
in the Go SDK.
public static class GetSiteCertificate
{
public static Task<GetSiteCertificateResult> InvokeAsync(GetSiteCertificateArgs args, InvokeOptions? opts = null)
public static Output<GetSiteCertificateResult> Invoke(GetSiteCertificateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSiteCertificateResult> getSiteCertificate(GetSiteCertificateArgs args, InvokeOptions options)
public static Output<GetSiteCertificateResult> getSiteCertificate(GetSiteCertificateArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:web:getSiteCertificate
arguments:
# arguments dictionary
The following arguments are supported:
- Certificate
Name string - Name of the certificate.
- Name string
- Name of the site.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Certificate
Name string - Name of the certificate.
- Name string
- Name of the site.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- certificate
Name String - Name of the certificate.
- name String
- Name of the site.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- certificate
Name string - Name of the certificate.
- name string
- Name of the site.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- certificate_
name str - Name of the certificate.
- name str
- Name of the site.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- certificate
Name String - Name of the certificate.
- name String
- Name of the site.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getSiteCertificate Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Cer
Blob string - Raw bytes of .cer file
- Expiration
Date string - Certificate expiration date.
- Friendly
Name string - Friendly name of the certificate.
- Hosting
Environment Pulumi.Profile Azure Native. Web. Outputs. Hosting Environment Profile Response - Specification for the App Service Environment to use for the certificate.
- Id string
- Resource Id.
- Issue
Date string - Certificate issue Date.
- Issuer string
- Certificate issuer.
- Key
Vault stringSecret Status - Status of the Key Vault secret.
- Location string
- Resource Location.
- Name string
- Resource Name.
- Public
Key stringHash - Public key hash.
- Self
Link string - Self link.
- Site
Name string - App name.
- Subject
Name string - Subject name of the certificate.
- Thumbprint string
- Certificate thumbprint.
- Type string
- Resource type.
- Valid bool
- Is the certificate valid?.
- Canonical
Name string - CNAME of the certificate to be issued via free certificate
- Domain
Validation stringMethod - Method of domain validation for free cert
- Host
Names List<string> - Host names the certificate applies to.
- Key
Vault stringId - Azure Key Vault Csm resource Id.
- Key
Vault stringSecret Name - Azure Key Vault secret name.
- Kind string
- 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.
- Password string
- Certificate password.
- Pfx
Blob string - Pfx blob.
- Server
Farm stringId - Resource ID of the associated App Service plan.
- Dictionary<string, string>
- Resource tags.
- Azure
Api stringVersion - The Azure API version of the resource.
- Cer
Blob string - Raw bytes of .cer file
- Expiration
Date string - Certificate expiration date.
- Friendly
Name string - Friendly name of the certificate.
- Hosting
Environment HostingProfile Environment Profile Response - Specification for the App Service Environment to use for the certificate.
- Id string
- Resource Id.
- Issue
Date string - Certificate issue Date.
- Issuer string
- Certificate issuer.
- Key
Vault stringSecret Status - Status of the Key Vault secret.
- Location string
- Resource Location.
- Name string
- Resource Name.
- Public
Key stringHash - Public key hash.
- Self
Link string - Self link.
- Site
Name string - App name.
- Subject
Name string - Subject name of the certificate.
- Thumbprint string
- Certificate thumbprint.
- Type string
- Resource type.
- Valid bool
- Is the certificate valid?.
- Canonical
Name string - CNAME of the certificate to be issued via free certificate
- Domain
Validation stringMethod - Method of domain validation for free cert
- Host
Names []string - Host names the certificate applies to.
- Key
Vault stringId - Azure Key Vault Csm resource Id.
- Key
Vault stringSecret Name - Azure Key Vault secret name.
- Kind string
- 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.
- Password string
- Certificate password.
- Pfx
Blob string - Pfx blob.
- Server
Farm stringId - Resource ID of the associated App Service plan.
- map[string]string
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- cer
Blob String - Raw bytes of .cer file
- expiration
Date String - Certificate expiration date.
- friendly
Name String - Friendly name of the certificate.
- hosting
Environment HostingProfile Environment Profile Response - Specification for the App Service Environment to use for the certificate.
- id String
- Resource Id.
- issue
Date String - Certificate issue Date.
- issuer String
- Certificate issuer.
- key
Vault StringSecret Status - Status of the Key Vault secret.
- location String
- Resource Location.
- name String
- Resource Name.
- public
Key StringHash - Public key hash.
- self
Link String - Self link.
- site
Name String - App name.
- subject
Name String - Subject name of the certificate.
- thumbprint String
- Certificate thumbprint.
- type String
- Resource type.
- valid Boolean
- Is the certificate valid?.
- canonical
Name String - CNAME of the certificate to be issued via free certificate
- domain
Validation StringMethod - Method of domain validation for free cert
- host
Names List<String> - Host names the certificate applies to.
- key
Vault StringId - Azure Key Vault Csm resource Id.
- key
Vault StringSecret Name - Azure Key Vault secret name.
- kind String
- 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.
- password String
- Certificate password.
- pfx
Blob String - Pfx blob.
- server
Farm StringId - Resource ID of the associated App Service plan.
- Map<String,String>
- Resource tags.
- azure
Api stringVersion - The Azure API version of the resource.
- cer
Blob string - Raw bytes of .cer file
- expiration
Date string - Certificate expiration date.
- friendly
Name string - Friendly name of the certificate.
- hosting
Environment HostingProfile Environment Profile Response - Specification for the App Service Environment to use for the certificate.
- id string
- Resource Id.
- issue
Date string - Certificate issue Date.
- issuer string
- Certificate issuer.
- key
Vault stringSecret Status - Status of the Key Vault secret.
- location string
- Resource Location.
- name string
- Resource Name.
- public
Key stringHash - Public key hash.
- self
Link string - Self link.
- site
Name string - App name.
- subject
Name string - Subject name of the certificate.
- thumbprint string
- Certificate thumbprint.
- type string
- Resource type.
- valid boolean
- Is the certificate valid?.
- canonical
Name string - CNAME of the certificate to be issued via free certificate
- domain
Validation stringMethod - Method of domain validation for free cert
- host
Names string[] - Host names the certificate applies to.
- key
Vault stringId - Azure Key Vault Csm resource Id.
- key
Vault stringSecret Name - Azure Key Vault secret name.
- kind string
- 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.
- password string
- Certificate password.
- pfx
Blob string - Pfx blob.
- server
Farm stringId - Resource ID of the associated App Service plan.
- {[key: string]: string}
- Resource tags.
- azure_
api_ strversion - The Azure API version of the resource.
- cer_
blob str - Raw bytes of .cer file
- expiration_
date str - Certificate expiration date.
- friendly_
name str - Friendly name of the certificate.
- hosting_
environment_ Hostingprofile Environment Profile Response - Specification for the App Service Environment to use for the certificate.
- id str
- Resource Id.
- issue_
date str - Certificate issue Date.
- issuer str
- Certificate issuer.
- key_
vault_ strsecret_ status - Status of the Key Vault secret.
- location str
- Resource Location.
- name str
- Resource Name.
- public_
key_ strhash - Public key hash.
- self_
link str - Self link.
- site_
name str - App name.
- subject_
name str - Subject name of the certificate.
- thumbprint str
- Certificate thumbprint.
- type str
- Resource type.
- valid bool
- Is the certificate valid?.
- canonical_
name str - CNAME of the certificate to be issued via free certificate
- domain_
validation_ strmethod - Method of domain validation for free cert
- host_
names Sequence[str] - Host names the certificate applies to.
- key_
vault_ strid - Azure Key Vault Csm resource Id.
- key_
vault_ strsecret_ name - Azure Key Vault secret name.
- kind str
- 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.
- password str
- Certificate password.
- pfx_
blob str - Pfx blob.
- server_
farm_ strid - Resource ID of the associated App Service plan.
- Mapping[str, str]
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- cer
Blob String - Raw bytes of .cer file
- expiration
Date String - Certificate expiration date.
- friendly
Name String - Friendly name of the certificate.
- hosting
Environment Property MapProfile - Specification for the App Service Environment to use for the certificate.
- id String
- Resource Id.
- issue
Date String - Certificate issue Date.
- issuer String
- Certificate issuer.
- key
Vault StringSecret Status - Status of the Key Vault secret.
- location String
- Resource Location.
- name String
- Resource Name.
- public
Key StringHash - Public key hash.
- self
Link String - Self link.
- site
Name String - App name.
- subject
Name String - Subject name of the certificate.
- thumbprint String
- Certificate thumbprint.
- type String
- Resource type.
- valid Boolean
- Is the certificate valid?.
- canonical
Name String - CNAME of the certificate to be issued via free certificate
- domain
Validation StringMethod - Method of domain validation for free cert
- host
Names List<String> - Host names the certificate applies to.
- key
Vault StringId - Azure Key Vault Csm resource Id.
- key
Vault StringSecret Name - Azure Key Vault secret name.
- kind String
- 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.
- password String
- Certificate password.
- pfx
Blob String - Pfx blob.
- server
Farm StringId - Resource ID of the associated App Service plan.
- Map<String>
- Resource tags.
Supporting Types
HostingEnvironmentProfileResponse
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.7.1 published on Wednesday, Aug 13, 2025 by Pulumi