published on Wednesday, Jul 29, 2026 by Pulumi
published on Wednesday, Jul 29, 2026 by Pulumi
Get a certificate for a given site and deployment slot.
Uses Azure REST API version 2025-05-01.
Other available API versions: 2024-11-01, 2025-03-01, 2026-03-01-preview, 2026-03-15. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native web [ApiVersion]. See the version guide for details.
Using getSiteCertificateSlot
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 getSiteCertificateSlot(args: GetSiteCertificateSlotArgs, opts?: InvokeOptions): Promise<GetSiteCertificateSlotResult>
function getSiteCertificateSlotOutput(args: GetSiteCertificateSlotOutputArgs, opts?: InvokeOptions): Output<GetSiteCertificateSlotResult>def get_site_certificate_slot(certificate_name: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
slot: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSiteCertificateSlotResult
def get_site_certificate_slot_output(certificate_name: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
resource_group_name: pulumi.Input[Optional[str]] = None,
slot: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSiteCertificateSlotResult]func LookupSiteCertificateSlot(ctx *Context, args *LookupSiteCertificateSlotArgs, opts ...InvokeOption) (*LookupSiteCertificateSlotResult, error)
func LookupSiteCertificateSlotOutput(ctx *Context, args *LookupSiteCertificateSlotOutputArgs, opts ...InvokeOption) LookupSiteCertificateSlotResultOutput> Note: This function is named LookupSiteCertificateSlot in the Go SDK.
public static class GetSiteCertificateSlot
{
public static Task<GetSiteCertificateSlotResult> InvokeAsync(GetSiteCertificateSlotArgs args, InvokeOptions? opts = null)
public static Output<GetSiteCertificateSlotResult> Invoke(GetSiteCertificateSlotInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSiteCertificateSlotResult> getSiteCertificateSlot(GetSiteCertificateSlotArgs args, InvokeOptions options)
public static Output<GetSiteCertificateSlotResult> getSiteCertificateSlot(GetSiteCertificateSlotArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:web:getSiteCertificateSlot
arguments:
# arguments dictionarydata "azure-native_web_get_site_certificate_slot" "name" {
# arguments
}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.
- Slot string
- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.
- 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.
- Slot string
- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.
- 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.
- slot string
- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.
- 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.
- slot String
- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.
- 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.
- slot string
- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.
- 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.
- slot str
- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.
- 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.
- slot String
- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.
getSiteCertificateSlot 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
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Issue
Date string - Certificate issue Date.
- Issuer string
- Certificate issuer.
- Key
Vault stringSecret Status - Status of the Key Vault secret.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Public
Key stringHash - Public key hash.
- Self
Link string - Self link.
- Site
Name string - App name.
- Subject
Name string - Subject name of the certificate.
- System
Data Pulumi.Azure Native. Web. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Thumbprint string
- Certificate thumbprint.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Issue
Date string - Certificate issue Date.
- Issuer string
- Certificate issuer.
- Key
Vault stringSecret Status - Status of the Key Vault secret.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Public
Key stringHash - Public key hash.
- Self
Link string - Self link.
- Site
Name string - App name.
- Subject
Name string - Subject name of the certificate.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Thumbprint string
- Certificate thumbprint.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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_ objectprofile - Specification for the App Service Environment to use for the certificate.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- issue_
date string - Certificate issue Date.
- issuer string
- Certificate issuer.
- key_
vault_ stringsecret_ status - Status of the Key Vault secret.
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- public_
key_ stringhash - Public key hash.
- self_
link string - Self link.
- site_
name string - App name.
- subject_
name string - Subject name of the certificate.
- system_
data object - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- thumbprint string
- Certificate thumbprint.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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.
- map(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
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- issue
Date String - Certificate issue Date.
- issuer String
- Certificate issuer.
- key
Vault StringSecret Status - Status of the Key Vault secret.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- public
Key StringHash - Public key hash.
- self
Link String - Self link.
- site
Name String - App name.
- subject
Name String - Subject name of the certificate.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- thumbprint String
- Certificate thumbprint.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- issue
Date string - Certificate issue Date.
- issuer string
- Certificate issuer.
- key
Vault stringSecret Status - Status of the Key Vault secret.
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- public
Key stringHash - Public key hash.
- self
Link string - Self link.
- site
Name string - App name.
- subject
Name string - Subject name of the certificate.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- thumbprint string
- Certificate thumbprint.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- issue_
date str - Certificate issue Date.
- issuer str
- Certificate issuer.
- key_
vault_ strsecret_ status - Status of the Key Vault secret.
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- public_
key_ strhash - Public key hash.
- self_
link str - Self link.
- site_
name str - App name.
- subject_
name str - Subject name of the certificate.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- thumbprint str
- Certificate thumbprint.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- issue
Date String - Certificate issue Date.
- issuer String
- Certificate issuer.
- key
Vault StringSecret Status - Status of the Key Vault secret.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- public
Key StringHash - Public key hash.
- self
Link String - Self link.
- site
Name String - App name.
- subject
Name String - Subject name of the certificate.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- thumbprint String
- Certificate thumbprint.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at string - The timestamp of resource creation (UTC).
- created_
by string - The identity that created the resource.
- created_
by_ stringtype - The type of identity that created the resource.
- last_
modified_ stringat - The timestamp of resource last modification (UTC)
- last_
modified_ stringby - The identity that last modified the resource.
- last_
modified_ stringby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
published on Wednesday, Jul 29, 2026 by Pulumi