certificates
Creates, updates, deletes, gets or lists a certificates resource.
Overview
| Name | certificates |
| Type | Resource |
| Id | azure.app.certificates |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
expirationDate | string (date-time) | Certificate expiration date. |
issueDate | string (date-time) | Certificate issue Date. |
issuer | string | Certificate issuer. |
location | string | Required. The geo-location where the resource lives. |
password | string | Certificate password. |
provisioningState | string | Provisioning state of the certificate. Possible values include: "Succeeded", "Failed", "Canceled", "DeleteFailed", "Pending". |
publicKeyHash | string | Public key hash. |
subjectName | string | Subject name of the certificate. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | A set of tags. Resource tags. |
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?. |
value | string (byte) | PFX or PEM blob. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | Get the specified Certificate. Get the specified Certificate. | ||
list_raw | exec | Get 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.
| Name | Datatype | Description |
|---|
SELECT examples
- get
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
- list_raw
Get the Certificates in a given managed environment. Get the Certificates in a given managed environment.
EXEC azure.app.certificates.list_raw
;