Skip to main content

workload_identity_pools_attestation_rules

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

Overview​

Nameworkload_identity_pools_attestation_rules
TypeResource
Idgoogle.iam.workload_identity_pools_attestation_rules

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
googleCloudResourcestringOptional. A single workload operating on Google Cloud. For example: //compute.googleapis.com/projects/123/uid/zones/us-central1-a/instances/12345.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_attestation_rulesselectprojectsId, locationsId, workloadIdentityPoolsIdfilter, pageSize, pageTokenList all AttestationRule on a WorkloadIdentityPoolManagedIdentity.

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
locationsIdstring
projectsIdstring
workloadIdentityPoolsIdstring
filterstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples​

List all AttestationRule on a WorkloadIdentityPoolManagedIdentity.

SELECT
googleCloudResource
FROM google.iam.workload_identity_pools_attestation_rules
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND workloadIdentityPoolsId = '{{ workloadIdentityPoolsId }}' -- required
AND filter = '{{ filter }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;