certificate_contacts
Creates, updates, deletes, gets or lists a certificate_contacts resource.
Overview
| Name | certificate_contacts |
| Type | Resource |
| Id | azure.key_vault_certificates.certificate_contacts |
Fields
The following fields are returned by SELECT queries:
- get_certificate_contacts
| Name | Datatype | Description |
|---|---|---|
id | string | Identifier for the contacts collection. |
contacts | array | The contact list for the vault certificates. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_certificate_contacts | select | vault_name | Lists the certificate contacts for a specified key vault. The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault. This operation requires the certificates/managecontacts permission. | |
set_certificate_contacts | replace | vault_name | Sets the certificate contacts for the specified key vault. Sets the certificate contacts for the specified key vault. This operation requires the certificates/managecontacts permission. | |
delete_certificate_contacts | delete | vault_name | Deletes the certificate contacts for a specified key vault. Deletes the certificate contacts for a specified key vault certificate. This operation requires the certificates/managecontacts permission. |
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 |
|---|---|---|
vault_name | string | Key vault name. (default: ) |
SELECT examples
- get_certificate_contacts
Lists the certificate contacts for a specified key vault. The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault. This operation requires the certificates/managecontacts permission.
SELECT
id,
contacts
FROM azure.key_vault_certificates.certificate_contacts
WHERE vault_name = '{{ vault_name }}' -- required
;
REPLACE examples
- set_certificate_contacts
Sets the certificate contacts for the specified key vault. Sets the certificate contacts for the specified key vault. This operation requires the certificates/managecontacts permission.
REPLACE azure.key_vault_certificates.certificate_contacts
SET
contacts = '{{ contacts }}'
WHERE
vault_name = '{{ vault_name }}' --required
RETURNING
id,
contacts;
DELETE examples
- delete_certificate_contacts
Deletes the certificate contacts for a specified key vault. Deletes the certificate contacts for a specified key vault certificate. This operation requires the certificates/managecontacts permission.
DELETE FROM azure.key_vault_certificates.certificate_contacts
WHERE vault_name = '{{ vault_name }}' --required
;