Skip to main content

workload_identity_pools_attestation_rule

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

Overview

Nameworkload_identity_pools_attestation_rule
TypeResource
Idgoogle.iam.workload_identity_pools_attestation_rule

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
add_attestation_ruleinsertprojectsId, locationsId, workloadIdentityPoolsIdAdd an AttestationRule on a WorkloadIdentityPoolManagedIdentity. The total attestation rules after addition must not exceed 50.
remove_attestation_ruledeleteprojectsId, locationsId, workloadIdentityPoolsIdRemove an 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

INSERT examples

Add an AttestationRule on a WorkloadIdentityPoolManagedIdentity. The total attestation rules after addition must not exceed 50.

INSERT INTO google.iam.workload_identity_pools_attestation_rule (
data__attestationRule,
projectsId,
locationsId,
workloadIdentityPoolsId
)
SELECT
'{{ attestationRule }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ workloadIdentityPoolsId }}'
RETURNING
name,
done,
error,
metadata,
response
;

DELETE examples

Remove an AttestationRule on a WorkloadIdentityPoolManagedIdentity.

DELETE FROM google.iam.workload_identity_pools_attestation_rule
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND workloadIdentityPoolsId = '{{ workloadIdentityPoolsId }}' --required
;