Skip to main content

certificates

Creates, updates, deletes, gets or lists a certificates resource.

Overview

Namecertificates
TypeResource
Idazure.app.certificates

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
expirationDatestring (date-time)Certificate expiration date.
issueDatestring (date-time)Certificate issue Date.
issuerstringCertificate issuer.
locationstringRequired. The geo-location where the resource lives.
passwordstringCertificate password.
provisioningStatestringProvisioning state of the certificate. Possible values include: "Succeeded", "Failed", "Canceled", "DeleteFailed", "Pending".
publicKeyHashstringPublic key hash.
subjectNamestringSubject name of the certificate.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectA set of tags. Resource tags.
thumbprintstringCertificate thumbprint.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
validbooleanIs the certificate valid?.
valuestring (byte)PFX or PEM blob.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGet the specified Certificate. Get the specified Certificate.
list_rawexecGet the Certificates in a given managed environment. Get the Certificates in a given managed environment.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription

SELECT examples

Get the specified Certificate. Get the specified Certificate.

SELECT
id,
name,
expirationDate,
issueDate,
issuer,
location,
password,
provisioningState,
publicKeyHash,
subjectName,
systemData,
tags,
thumbprint,
type,
valid,
value
FROM azure.app.certificates
;

Lifecycle Methods

Get the Certificates in a given managed environment. Get the Certificates in a given managed environment.

EXEC azure.app.certificates.list_raw 

;