- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Examples
- Try it!
Set all AttestationRule
on a WorkloadIdentityPoolManagedIdentity
.
A maximum of 50 AttestationRules can be set.
HTTP request
POST https://iam.googleapis.com/v1/{resource=projects/*/locations/*/workloadIdentityPools/*/namespaces/*/managedIdentities/*}:setAttestationRules
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
resource |
Required. The resource name of the managed identity or namespace resource to add an attestation rule to. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"attestationRules": [
{
object ( |
Fields | |
---|---|
attestationRules[] |
Required. The attestation rules to be set. At most 50 attestation rules can be set. |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/iam
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the resource
resource:
CALLBACK
For more information, see the IAM documentation.