associations
Creates, updates, deletes, gets or lists an associations resource.
Overview
| Name | associations |
| Type | Resource |
| Id | cloudflare.mtls_certificates.associations |
Fields
The following fields are returned by SELECT queries:
- list
List mTLS certificate associations response
| Name | Datatype | Description |
|---|---|---|
service | string | The service using the certificate. (example: gateway) |
status | string | Certificate deployment status for the given service. (example: pending_deployment) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | mtls_certificate_id, account_id | Lists all active associations between the certificate and Cloudflare services. |
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 |
|---|---|---|
account_id | string | The Cloudflare account ID. |
mtls_certificate_id | string |
SELECT examples
- list
Lists all active associations between the certificate and Cloudflare services.
SELECT
service,
status
FROM cloudflare.mtls_certificates.associations
WHERE mtls_certificate_id = '{{ mtls_certificate_id }}' -- required
AND account_id = '{{ account_id }}' -- required
;