Index
-
WorkloadIdentityPools
(interface) -
AddAttestationRuleMetadata
(message) -
AddAttestationRuleRequest
(message) -
AddAttestationRuleResponse
(message) -
AttestationRule
(message) -
AuditConfig
(message) -
AuditLogConfig
(message) -
AuditLogConfig.LogType
(enum) -
Binding
(message) -
BindingDelta
(message) -
BindingDelta.Action
(enum) -
CreateWorkloadIdentityPoolManagedIdentityRequest
(message) -
CreateWorkloadIdentityPoolNamespaceRequest
(message) -
CreateWorkloadIdentityPoolProviderKeyRequest
(message) -
CreateWorkloadIdentityPoolProviderRequest
(message) -
CreateWorkloadIdentityPoolRequest
(message) -
DeleteWorkloadIdentityPoolManagedIdentityRequest
(message) -
DeleteWorkloadIdentityPoolNamespaceRequest
(message) -
DeleteWorkloadIdentityPoolProviderKeyRequest
(message) -
DeleteWorkloadIdentityPoolProviderRequest
(message) -
DeleteWorkloadIdentityPoolRequest
(message) -
GetIamPolicyRequest
(message) -
GetPolicyOptions
(message) -
GetWorkloadIdentityPoolManagedIdentityRequest
(message) -
GetWorkloadIdentityPoolNamespaceRequest
(message) -
GetWorkloadIdentityPoolProviderKeyRequest
(message) -
GetWorkloadIdentityPoolProviderRequest
(message) -
GetWorkloadIdentityPoolRequest
(message) -
ListAttestationRulesRequest
(message) -
ListAttestationRulesResponse
(message) -
ListWorkloadIdentityPoolManagedIdentitiesRequest
(message) -
ListWorkloadIdentityPoolManagedIdentitiesResponse
(message) -
ListWorkloadIdentityPoolNamespacesRequest
(message) -
ListWorkloadIdentityPoolNamespacesResponse
(message) -
ListWorkloadIdentityPoolProviderKeysRequest
(message) -
ListWorkloadIdentityPoolProviderKeysResponse
(message) -
ListWorkloadIdentityPoolProvidersRequest
(message) -
ListWorkloadIdentityPoolProvidersResponse
(message) -
ListWorkloadIdentityPoolsRequest
(message) -
ListWorkloadIdentityPoolsResponse
(message) -
Policy
(message) -
PolicyDelta
(message) -
RemoveAttestationRuleMetadata
(message) -
RemoveAttestationRuleRequest
(message) -
RemoveAttestationRuleResponse
(message) -
SetAttestationRulesMetadata
(message) -
SetAttestationRulesRequest
(message) -
SetAttestationRulesResponse
(message) -
SetIamPolicyRequest
(message) -
TestIamPermissionsRequest
(message) -
TestIamPermissionsResponse
(message) -
TrustStore
(message) -
TrustStore.IntermediateCA
(message) -
TrustStore.TrustAnchor
(message) -
UndeleteWorkloadIdentityPoolManagedIdentityRequest
(message) -
UndeleteWorkloadIdentityPoolNamespaceRequest
(message) -
UndeleteWorkloadIdentityPoolProviderKeyRequest
(message) -
UndeleteWorkloadIdentityPoolProviderRequest
(message) -
UndeleteWorkloadIdentityPoolRequest
(message) -
UpdateWorkloadIdentityPoolManagedIdentityRequest
(message) -
UpdateWorkloadIdentityPoolNamespaceRequest
(message) -
UpdateWorkloadIdentityPoolProviderRequest
(message) -
UpdateWorkloadIdentityPoolRequest
(message) -
WorkloadIdentityPool
(message) -
WorkloadIdentityPool.InlineCertificateIssuanceConfig
(message) -
WorkloadIdentityPool.InlineCertificateIssuanceConfig.KeyAlgorithm
(enum) -
WorkloadIdentityPool.InlineTrustConfig
(message) -
WorkloadIdentityPool.Mode
(enum) -
WorkloadIdentityPool.State
(enum) -
WorkloadIdentityPoolManagedIdentity
(message) -
WorkloadIdentityPoolManagedIdentity.State
(enum) -
WorkloadIdentityPoolManagedIdentityOperationMetadata
(message) -
WorkloadIdentityPoolNamespace
(message) -
WorkloadIdentityPoolNamespace.OwnerService
(message) -
WorkloadIdentityPoolNamespace.State
(enum) -
WorkloadIdentityPoolNamespaceOperationMetadata
(message) -
WorkloadIdentityPoolOperationMetadata
(message) -
WorkloadIdentityPoolProvider
(message) -
WorkloadIdentityPoolProvider.Aws
(message) -
WorkloadIdentityPoolProvider.Oidc
(message) -
WorkloadIdentityPoolProvider.Saml
(message) -
WorkloadIdentityPoolProvider.State
(enum) -
WorkloadIdentityPoolProvider.X509
(message) -
WorkloadIdentityPoolProviderKey
(message) -
WorkloadIdentityPoolProviderKey.KeyUse
(enum) -
WorkloadIdentityPoolProviderKey.State
(enum) -
WorkloadIdentityPoolProviderKeyOperationMetadata
(message) -
WorkloadIdentityPoolProviderOperationMetadata
(message)
WorkloadIdentityPools
Manages WorkloadIdentityPools.
rpc AddAttestationRule(
AddAttestationRuleRequest
) returns ( Operation
)
Add an AttestationRule
on a WorkloadIdentityPoolManagedIdentity
.
The total attestation rules after addition must not exceed 50.
- 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 .
-
rpc CreateWorkloadIdentityPool(
CreateWorkloadIdentityPoolRequest
) returns ( Operation
)
Creates a new WorkloadIdentityPool
.
You cannot reuse the name of a deleted pool until 30 days after deletion.
- 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
parent
resource:-
iam.workloadIdentityPools.create
For more information, see the IAM documentation .
-
rpc CreateWorkloadIdentityPoolManagedIdentity(
CreateWorkloadIdentityPoolManagedIdentityRequest
) returns ( Operation
)
Creates a new WorkloadIdentityPoolManagedIdentity
in a WorkloadIdentityPoolNamespace
.
- 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 .
-
rpc CreateWorkloadIdentityPoolNamespace(
CreateWorkloadIdentityPoolNamespaceRequest
) returns ( Operation
)
Creates a new WorkloadIdentityPoolNamespace
in a WorkloadIdentityPool
.
- 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 .
-
rpc CreateWorkloadIdentityPoolProvider(
CreateWorkloadIdentityPoolProviderRequest
) returns ( Operation
)
Creates a new WorkloadIdentityPoolProvider
in a WorkloadIdentityPool
.
You cannot reuse the name of a deleted provider until 30 days after deletion.
- 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
parent
resource:-
iam.workloadIdentityPoolProviders.create
For more information, see the IAM documentation .
-
rpc CreateWorkloadIdentityPoolProviderKey(
CreateWorkloadIdentityPoolProviderKeyRequest
) returns ( Operation
)
Create a new WorkloadIdentityPoolProviderKey
in a WorkloadIdentityPoolProvider
.
- 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 .
-
rpc DeleteWorkloadIdentityPool(
DeleteWorkloadIdentityPoolRequest
) returns ( Operation
)
Deletes a WorkloadIdentityPool
.
You cannot use a deleted pool to exchange external credentials for Google Cloud credentials. However, deletion does not revoke credentials that have already been issued. Credentials issued for a deleted pool do not grant access to resources. If the pool is undeleted, and the credentials are not expired, they grant access again. You can undelete a pool for 30 days. After 30 days, deletion is permanent. You cannot update deleted pools. However, you can view and list them.
- 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
name
resource:-
iam.workloadIdentityPools.delete
For more information, see the IAM documentation .
-
rpc DeleteWorkloadIdentityPoolManagedIdentity(
DeleteWorkloadIdentityPoolManagedIdentityRequest
) returns ( Operation
)
Deletes a WorkloadIdentityPoolManagedIdentity
. You can undelete a managed identity for 30 days. After 30 days, deletion is permanent.
- 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 .
-
rpc DeleteWorkloadIdentityPoolNamespace(
DeleteWorkloadIdentityPoolNamespaceRequest
) returns ( Operation
)
Deletes a WorkloadIdentityPoolNamespace
. You can undelete a namespace for 30 days. After 30 days, deletion is permanent.
- 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 .
-
rpc DeleteWorkloadIdentityPoolProvider(
DeleteWorkloadIdentityPoolProviderRequest
) returns ( Operation
)
Deletes a WorkloadIdentityPoolProvider
. Deleting a provider does not revoke credentials that have already been issued; they continue to grant access. You can undelete a provider for 30 days. After 30 days, deletion is permanent. You cannot update deleted providers. However, you can view and list them.
- 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
name
resource:-
iam.workloadIdentityPoolProviders.delete
For more information, see the IAM documentation .
-
rpc DeleteWorkloadIdentityPoolProviderKey(
DeleteWorkloadIdentityPoolProviderKeyRequest
) returns ( Operation
)
Deletes an WorkloadIdentityPoolProviderKey
. You can undelete a key for 30 days. After 30 days, deletion is permanent.
- 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 .
-
rpc GetIamPolicy(
GetIamPolicyRequest
) returns ( Policy
)
Gets the IAM policy of a WorkloadIdentityPool
.
- 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 .
-
rpc GetWorkloadIdentityPool(
GetWorkloadIdentityPoolRequest
) returns ( WorkloadIdentityPool
)
Gets an individual WorkloadIdentityPool
.
- 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
name
resource:-
iam.workloadIdentityPools.get
For more information, see the IAM documentation .
-
rpc GetWorkloadIdentityPoolManagedIdentity(
GetWorkloadIdentityPoolManagedIdentityRequest
) returns ( WorkloadIdentityPoolManagedIdentity
)
Gets an individual WorkloadIdentityPoolManagedIdentity
.
- 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 .
-
rpc GetWorkloadIdentityPoolNamespace(
GetWorkloadIdentityPoolNamespaceRequest
) returns ( WorkloadIdentityPoolNamespace
)
Gets an individual WorkloadIdentityPoolNamespace
.
- 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 .
-
rpc GetWorkloadIdentityPoolProvider(
GetWorkloadIdentityPoolProviderRequest
) returns ( WorkloadIdentityPoolProvider
)
Gets an individual WorkloadIdentityPoolProvider
.
- 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
name
resource:-
iam.workloadIdentityPoolProviders.get
For more information, see the IAM documentation .
-
rpc GetWorkloadIdentityPoolProviderKey(
GetWorkloadIdentityPoolProviderKeyRequest
) returns ( WorkloadIdentityPoolProviderKey
)
Gets an individual WorkloadIdentityPoolProviderKey
.
- 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 .
-
rpc ListAttestationRules(
ListAttestationRulesRequest
) returns ( ListAttestationRulesResponse
)
List all AttestationRule
on a WorkloadIdentityPoolManagedIdentity
.
- 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 .
-
rpc ListWorkloadIdentityPoolManagedIdentities(
ListWorkloadIdentityPoolManagedIdentitiesRequest
) returns ( ListWorkloadIdentityPoolManagedIdentitiesResponse
)
Lists all non-deleted WorkloadIdentityPoolManagedIdentity
s in a namespace. If show_deleted
is set to true
, then deleted managed identities are also listed.
- 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 .
-
rpc ListWorkloadIdentityPoolNamespaces(
ListWorkloadIdentityPoolNamespacesRequest
) returns ( ListWorkloadIdentityPoolNamespacesResponse
)
Lists all non-deleted WorkloadIdentityPoolNamespace
s in a workload identity pool. If show_deleted
is set to true
, then deleted namespaces are also listed.
- 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 .
-
rpc ListWorkloadIdentityPoolProviderKeys(
ListWorkloadIdentityPoolProviderKeysRequest
) returns ( ListWorkloadIdentityPoolProviderKeysResponse
)
Lists all non-deleted WorkloadIdentityPoolProviderKey
s in a project. If show_deleted
is set to true
, then deleted pools are also listed.
- 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 .
-
rpc ListWorkloadIdentityPoolProviders(
ListWorkloadIdentityPoolProvidersRequest
) returns ( ListWorkloadIdentityPoolProvidersResponse
)
Lists all non-deleted WorkloadIdentityPoolProvider
s in a WorkloadIdentityPool
. If show_deleted
is set to true
, then deleted providers are also listed.
- 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
parent
resource:-
iam.workloadIdentityPoolProviders.list
For more information, see the IAM documentation .
-
rpc ListWorkloadIdentityPools(
ListWorkloadIdentityPoolsRequest
) returns ( ListWorkloadIdentityPoolsResponse
)
Lists all non-deleted WorkloadIdentityPool
s in a project. If show_deleted
is set to true
, then deleted pools are also listed.
- 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
parent
resource:-
iam.workloadIdentityPools.list
For more information, see the IAM documentation .
-
rpc RemoveAttestationRule(
RemoveAttestationRuleRequest
) returns ( Operation
)
Remove an AttestationRule
on a WorkloadIdentityPoolManagedIdentity
.
- 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 .
-
rpc SetAttestationRules(
SetAttestationRulesRequest
) returns ( Operation
)
Set all AttestationRule
on a WorkloadIdentityPoolManagedIdentity
.
A maximum of 50 AttestationRules can be set.
- 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 .
-
rpc SetIamPolicy(
SetIamPolicyRequest
) returns ( Policy
)
Sets the IAM policies on a WorkloadIdentityPool
- 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 .
-
rpc TestIamPermissions(
TestIamPermissionsRequest
) returns ( TestIamPermissionsResponse
)
Returns the caller's permissions on a WorkloadIdentityPool
- 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 .
-
rpc UndeleteWorkloadIdentityPool(
UndeleteWorkloadIdentityPoolRequest
) returns ( Operation
)
Undeletes a WorkloadIdentityPool
, as long as it was deleted fewer than 30 days ago.
- 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
name
resource:-
iam.workloadIdentityPools.undelete
For more information, see the IAM documentation .
-
rpc UndeleteWorkloadIdentityPoolManagedIdentity(
UndeleteWorkloadIdentityPoolManagedIdentityRequest
) returns ( Operation
)
Undeletes a WorkloadIdentityPoolManagedIdentity
, as long as it was deleted fewer than 30 days ago.
- 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 .
-
rpc UndeleteWorkloadIdentityPoolNamespace(
UndeleteWorkloadIdentityPoolNamespaceRequest
) returns ( Operation
)
Undeletes a WorkloadIdentityPoolNamespace
, as long as it was deleted fewer than 30 days ago.
- 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 .
-
rpc UndeleteWorkloadIdentityPoolProvider(
UndeleteWorkloadIdentityPoolProviderRequest
) returns ( Operation
)
Undeletes a WorkloadIdentityPoolProvider
, as long as it was deleted fewer than 30 days ago.
- 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
name
resource:-
iam.workloadIdentityPoolProviders.undelete
For more information, see the IAM documentation .
-
rpc UndeleteWorkloadIdentityPoolProviderKey(
UndeleteWorkloadIdentityPoolProviderKeyRequest
) returns ( Operation
)
Undeletes an WorkloadIdentityPoolProviderKey
, as long as it was deleted fewer than 30 days ago.
- 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 .
-
rpc UpdateWorkloadIdentityPool(
UpdateWorkloadIdentityPoolRequest
) returns ( Operation
)
Updates an existing WorkloadIdentityPool
.
- 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
name
resource:-
iam.workloadIdentityPools.update
For more information, see the IAM documentation .
-
rpc UpdateWorkloadIdentityPoolManagedIdentity(
UpdateWorkloadIdentityPoolManagedIdentityRequest
) returns ( Operation
)
Updates an existing WorkloadIdentityPoolManagedIdentity
in a WorkloadIdentityPoolNamespace
.
- 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 .
-
rpc UpdateWorkloadIdentityPoolNamespace(
UpdateWorkloadIdentityPoolNamespaceRequest
) returns ( Operation
)
Updates an existing WorkloadIdentityPoolNamespace
in a WorkloadIdentityPool
.
- 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 .
-
rpc UpdateWorkloadIdentityPoolProvider(
UpdateWorkloadIdentityPoolProviderRequest
) returns ( Operation
)
Updates an existing WorkloadIdentityPoolProvider
.
- 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
name
resource:-
iam.workloadIdentityPoolProviders.update
For more information, see the IAM documentation .
-
AddAttestationRuleMetadata
This type has no fields.
Metadata for long-running AddAttestationRule operation.
AddAttestationRuleRequest
Request message for AddAttestationRule.
Fields | |
---|---|
resource
|
Required. The resource name of the managed identity or namespace resource to add an attestation rule to. |
attestation_rule
|
Required. The attestation rule to be added. |
AddAttestationRuleResponse
This type has no fields.
Response message for AddAttestationRule.
AttestationRule
Defines which workloads can receive an identity within a pool. When an AttestationRule is defined under a managed identity, matching workloads may receive that identity.
workload_descriptor
. Descriptor for the workload. workload_descriptor
can be only one of the following:google_cloud_resource
string
Optional. A single workload operating on Google Cloud. For example: //compute.googleapis.com/projects/123/uid/zones/us-central1-a/instances/12345
.
AuditConfig
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.
If there are AuditConfigs for both allServices
and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.
Example Policy with multiple AuditConfigs:
{
"audit_configs": [
{
"service": "allServices",
"audit_log_configs": [
{
"log_type": "DATA_READ",
"exempted_members": [
"user:jose@example.com"
]
},
{
"log_type": "DATA_WRITE"
},
{
"log_type": "ADMIN_READ"
}
]
},
{
"service": "sampleservice.googleapis.com",
"audit_log_configs": [
{
"log_type": "DATA_READ"
},
{
"log_type": "DATA_WRITE",
"exempted_members": [
"user:aliya@example.com"
]
}
]
}
]
}
For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com
from DATA_READ logging, and aliya@example.com
from DATA_WRITE logging.
Fields | |
---|---|
service
|
Specifies a service that will be enabled for audit logging. For example, |
audit_log_configs[]
|
The configuration for logging of each type of permission. |
AuditLogConfig
Provides the configuration for logging a type of permissions. Example:
{
"audit_log_configs": [
{
"log_type": "DATA_READ",
"exempted_members": [
"user:jose@example.com"
]
},
{
"log_type": "DATA_WRITE"
}
]
}
This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
Fields | |
---|---|
log_type
|
The log type that this config enables. |
exempted_members[]
|
Specifies the identities that do not cause logging for this type of permission. Follows the same format of |
LogType
The list of valid permission types for which logging can be configured. Admin writes are always logged, and are not configurable.
Enums | |
---|---|
LOG_TYPE_UNSPECIFIED
|
Default case. Should never be this. |
ADMIN_READ
|
Admin reads. Example: CloudIAM getIamPolicy |
DATA_WRITE
|
Data writes. Example: CloudSQL Users create |
DATA_READ
|
Data reads. Example: CloudSQL Users list |
Binding
Associates members
, or principals, with a role
.
role
string
Role that is assigned to the list of members
, or principals. For example, roles/viewer
, roles/editor
, or roles/owner
.
For an overview of the IAM roles and permissions, see the IAM documentation . For a list of the available pre-defined roles, see here .
members[]
string
Specifies the principals requesting access for a Google Cloud resource. members
can have the following values:
-
allUsers
: A special identifier that represents anyone who is on the internet; with or without a Google account. -
allAuthenticatedUsers
: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. -
user:{emailid}
: An email address that represents a specific Google account. For example,alice@example.com
.
-
serviceAccount:{emailid}
: An email address that represents a Google service account. For example,my-other-app@appspot.gserviceaccount.com
. -
serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]
: An identifier for a Kubernetes service account . For example,my-project.svc.id.goog[my-namespace/my-kubernetes-sa]
. -
group:{emailid}
: An email address that represents a Google group. For example,admins@example.com
.
-
domain:{domain}
: The G Suite domain (primary) that represents all the users of that domain. For example,google.com
orexample.com
.
-
principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}
: A single identity in a workforce identity pool. -
principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}
: All workforce identities in a group. -
principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}
: All workforce identities with a specific attribute value. -
principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*
: All identities in a workforce identity pool. -
principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}
: A single identity in a workload identity pool. -
principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}
: A workload identity pool group. -
principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}
: All identities in a workload identity pool with a certain attribute. -
principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*
: All identities in a workload identity pool. -
deleted:user:{emailid}?uid={uniqueid}
: An email address (plus unique identifier) representing a user that has been recently deleted. For example,alice@example.com?uid=123456789012345678901
. If the user is recovered, this value reverts touser:{emailid}
and the recovered user retains the role in the binding. -
deleted:serviceAccount:{emailid}?uid={uniqueid}
: An email address (plus unique identifier) representing a service account that has been recently deleted. For example,my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901
. If the service account is undeleted, this value reverts toserviceAccount:{emailid}
and the undeleted service account retains the role in the binding. -
deleted:group:{emailid}?uid={uniqueid}
: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example,admins@example.com?uid=123456789012345678901
. If the group is recovered, this value reverts togroup:{emailid}
and the recovered group retains the role in the binding. -
deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}
: Deleted single identity in a workforce identity pool. For example,deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value
.
condition
The condition that is associated with this binding.
If the condition evaluates to true
, then this binding applies to the current request.
If the condition evaluates to false
, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.
To learn which resources support conditions in their IAM policies, see the IAM documentation .
BindingDelta
One delta entry for Binding. Each individual change (only one member in each entry) to a binding will be a separate entry.
Fields | |
---|---|
action
|
The action that was performed on a Binding. Required |
role
|
Role that is assigned to |
member
|
A single identity requesting access for a Google Cloud resource. Follows the same format of Binding.members. Required |
condition
|
The condition that is associated with this binding. |
Action
The type of action performed on a Binding in a policy.
Enums | |
---|---|
ACTION_UNSPECIFIED
|
Unspecified. |
ADD
|
Addition of a Binding. |
REMOVE
|
Removal of a Binding. |
CreateWorkloadIdentityPoolManagedIdentityRequest
Request message for CreateWorkloadIdentityPoolManagedIdentity.
Fields | |
---|---|
parent
|
Required. The parent resource to create the manage identity in. The only supported location is |
workload_identity_pool_managed_identity
|
Required. The managed identity to create. |
workload_identity_pool_managed_identity_id
|
Required. The ID to use for the managed identity. This value must: * contain at most 63 characters * contain only lowercase alphanumeric characters or The prefix "gcp-" will be reserved for future uses. |
CreateWorkloadIdentityPoolNamespaceRequest
Request message for CreateWorkloadIdentityPoolNamespace.
Fields | |
---|---|
parent
|
Required. The parent resource to create the namespace in. The only supported location is |
workload_identity_pool_namespace
|
Required. The namespace to create. |
workload_identity_pool_namespace_id
|
Required. The ID to use for the namespace. This value must: * contain at most 63 characters * contain only lowercase alphanumeric characters or The prefix "gcp-" will be reserved for future uses. |
CreateWorkloadIdentityPoolProviderKeyRequest
Request message for CreateWorkloadIdentityPoolProviderKey.
Fields | |
---|---|
parent
|
Required. The parent provider resource to create the key in. |
workload_identity_pool_provider_key
|
Required. The WorkloadIdentityPoolProviderKey to create. |
workload_identity_pool_provider_key_id
|
Required. The ID to use for the key, which becomes the final component of the resource name. This value should be 4-32 characters, and may contain the characters [a-z0-9-]. |
CreateWorkloadIdentityPoolProviderRequest
Request message for CreateWorkloadIdentityPoolProvider.
Fields | |
---|---|
parent
|
Required. The pool to create this provider in. |
workload_identity_pool_provider
|
Required. The provider to create. |
workload_identity_pool_provider_id
|
Required. The ID for the provider, which becomes the final component of the resource name. This value must be 4-32 characters, and may contain the characters [a-z0-9-]. The prefix |
CreateWorkloadIdentityPoolRequest
Request message for CreateWorkloadIdentityPool.
Fields | |
---|---|
parent
|
Required. The parent resource to create the pool in. The only supported location is |
workload_identity_pool
|
Required. The pool to create. |
workload_identity_pool_id
|
Required. The ID to use for the pool, which becomes the final component of the resource name. This value should be 4-32 characters, and may contain the characters [a-z0-9-]. The prefix |
DeleteWorkloadIdentityPoolManagedIdentityRequest
Request message for DeleteWorkloadIdentityPoolManagedIdentity.
Fields | |
---|---|
name
|
Required. The name of the managed identity to delete. |
DeleteWorkloadIdentityPoolNamespaceRequest
Request message for DeleteWorkloadIdentityPoolNamespace.
Fields | |
---|---|
name
|
Required. The name of the namespace to delete. |
DeleteWorkloadIdentityPoolProviderKeyRequest
Request message for DeleteWorkloadIdentityPoolProviderKey.
Fields | |
---|---|
name
|
Required. The name of the encryption key to delete. |
DeleteWorkloadIdentityPoolProviderRequest
Request message for DeleteWorkloadIdentityPoolProvider.
Fields | |
---|---|
name
|
Required. The name of the provider to delete. |
DeleteWorkloadIdentityPoolRequest
Request message for DeleteWorkloadIdentityPool.
Fields | |
---|---|
name
|
Required. The name of the pool to delete. |
GetIamPolicyRequest
Request message for GetIamPolicy
method.
Fields | |
---|---|
resource
|
REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. |
options
|
OPTIONAL: A |
GetPolicyOptions
Encapsulates settings provided to GetIamPolicy.
Fields | |
---|---|
requested_policy_version
|
Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation . |
GetWorkloadIdentityPoolManagedIdentityRequest
Request message for GetWorkloadIdentityPoolManagedIdentity.
Fields | |
---|---|
name
|
Required. The name of the managed identity to retrieve. |
GetWorkloadIdentityPoolNamespaceRequest
Request message for GetWorkloadIdentityPoolNamespace.
Fields | |
---|---|
name
|
Required. The name of the namespace to retrieve. |
GetWorkloadIdentityPoolProviderKeyRequest
Request message for GetWorkloadIdentityPoolProviderKey.
Fields | |
---|---|
name
|
Required. The name of the key to retrieve. |
GetWorkloadIdentityPoolProviderRequest
Request message for GetWorkloadIdentityPoolProvider.
Fields | |
---|---|
name
|
Required. The name of the provider to retrieve. |
GetWorkloadIdentityPoolRequest
Request message for GetWorkloadIdentityPool.
Fields | |
---|---|
name
|
Required. The name of the pool to retrieve. |
ListAttestationRulesRequest
Request message for ListAttestationRules.
resource
string
Required. The resource name of the managed identity or namespace resource to list attestation rules of.
filter
string
Optional. A query filter. Supports the following function:
-
container_ids()
: Returns only the AttestationRules under the specific container ids. The function expects a comma-delimited list with only project numbers and must use the formatprojects/<project-number>
. For example:container_ids(projects/<project-number-1>, projects/<project-number-2>,...)
.
page_size
int32
Optional. The maximum number of AttestationRules to return. If unspecified, at most 50 AttestationRules are returned. The maximum value is 100; values above 100 are truncated to 100.
page_token
string
Optional. A page token, received from a previous ListWorkloadIdentityPoolProviderKeys
call. Provide this to retrieve the subsequent page.
ListAttestationRulesResponse
Response message for ListAttestationRules.
Fields | |
---|---|
attestation_rules[]
|
A list of AttestationRules. |
next_page_token
|
Optional. A token, which can be sent as |
ListWorkloadIdentityPoolManagedIdentitiesRequest
Request message for ListWorkloadIdentityPoolManagedIdentities.
Fields | |
---|---|
parent
|
Required. The parent resource to list managed identities for. |
page_size
|
The maximum number of managed identities to return. If unspecified, at most 50 managed identities are returned. The maximum value is 1000; values above are 1000 truncated to 1000. |
page_token
|
A page token, received from a previous |
show_deleted
|
Whether to return soft-deleted managed identities. |
ListWorkloadIdentityPoolManagedIdentitiesResponse
Response message for ListWorkloadIdentityPoolManagedIdentities.
Fields | |
---|---|
workload_identity_pool_managed_identities[]
|
A list of managed identities. |
next_page_token
|
A token, which can be sent as |
ListWorkloadIdentityPoolNamespacesRequest
Request message for ListWorkloadIdentityPoolNamespaces.
Fields | |
---|---|
parent
|
Required. The parent resource to list namespaces for. |
page_size
|
The maximum number of namespaces to return. If unspecified, at most 50 namespaces are returned. The maximum value is 1000; values above are 1000 truncated to 1000. |
page_token
|
A page token, received from a previous |
show_deleted
|
Whether to return soft-deleted namespaces. |
ListWorkloadIdentityPoolNamespacesResponse
Response message for ListWorkloadIdentityPoolNamespaces.
Fields | |
---|---|
workload_identity_pool_namespaces[]
|
A list of namespaces. |
next_page_token
|
A token, which can be sent as |
ListWorkloadIdentityPoolProviderKeysRequest
Request message for ListWorkloadIdentityPoolProviderKeys.
Fields | |
---|---|
parent
|
Required. The parent provider resource to list encryption keys for. |
page_size
|
The maximum number of keys to return. If unspecified, all keys are returned. The maximum value is 10; values above 10 are truncated to 10. |
page_token
|
A page token, received from a previous |
show_deleted
|
Whether to return soft deleted resources as well. |
ListWorkloadIdentityPoolProviderKeysResponse
Response message for ListWorkloadIdentityPoolProviderKeys.
Fields | |
---|---|
workload_identity_pool_provider_keys[]
|
A list of WorkloadIdentityPoolProviderKey |
next_page_token
|
A token, which can be sent as |
ListWorkloadIdentityPoolProvidersRequest
Request message for ListWorkloadIdentityPoolProviders.
Fields | |
---|---|
parent
|
Required. The pool to list providers for. |
page_size
|
The maximum number of providers to return. If unspecified, at most 50 providers are returned. The maximum value is 100; values above 100 are truncated to 100. |
page_token
|
A page token, received from a previous |
show_deleted
|
Whether to return soft-deleted providers. |
ListWorkloadIdentityPoolProvidersResponse
Response message for ListWorkloadIdentityPoolProviders.
Fields | |
---|---|
workload_identity_pool_providers[]
|
A list of providers. |
next_page_token
|
A token, which can be sent as |
ListWorkloadIdentityPoolsRequest
Request message for ListWorkloadIdentityPools.
Fields | |
---|---|
parent
|
Required. The parent resource to list pools for. |
page_size
|
The maximum number of pools to return. If unspecified, at most 50 pools are returned. The maximum value is 1000; values above are 1000 truncated to 1000. |
page_token
|
A page token, received from a previous |
show_deleted
|
Whether to return soft-deleted pools. |
ListWorkloadIdentityPoolsResponse
Response message for ListWorkloadIdentityPools.
Fields | |
---|---|
workload_identity_pools[]
|
A list of pools. |
next_page_token
|
A token, which can be sent as |
Policy
An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.
A Policy
is a collection of bindings
. A binding
binds one or more members
, or principals, to a single role
. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role
is a named list of permissions; each role
can be an IAM predefined role or a user-created custom role.
For some types of Google Cloud resources, a binding
can also specify a condition
, which is a logical expression that allows access to a resource only if the expression evaluates to true
. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation
.
JSON example:
{
"bindings": [
{
"role": "roles/resourcemanager.organizationAdmin",
"members": [
"user:mike@example.com",
"group:admins@example.com",
"domain:google.com",
"serviceAccount:my-project-id@appspot.gserviceaccount.com"
]
},
{
"role": "roles/resourcemanager.organizationViewer",
"members": [
"user:eve@example.com"
],
"condition": {
"title": "expirable access",
"description": "Does not grant access after Sep 2020",
"expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
}
}
],
"etag": "BwWWja0YfJA=",
"version": 3
}
YAML example:
bindings:
- members:
- user:mike@example.com
- group:admins@example.com
- domain:google.com
- serviceAccount:my-project-id@appspot.gserviceaccount.com
role: roles/resourcemanager.organizationAdmin
- members:
- user:eve@example.com
role: roles/resourcemanager.organizationViewer
condition:
title: expirable access
description: Does not grant access after Sep 2020
expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
etag: BwWWja0YfJA=
version: 3
For a description of IAM and its features, see the IAM documentation .
version
int32
Specifies the format of the policy.
Valid values are 0
, 1
, and 3
. Requests that specify an invalid value are rejected.
Any operation that affects conditional role bindings must specify version 3
. This requirement applies to the following operations:
- Getting a policy that includes a conditional role binding
- Adding a conditional role binding to a policy
- Changing a conditional role binding in a policy
- Removing any role binding, with or without a condition, from a policy that includes conditions
Important:If you use IAM Conditions, you must include the etag
field whenever you call setIamPolicy
. If you omit this field, then IAM allows you to overwrite a version 3
policy with a version 1
policy, and all of the conditions in the version 3
policy are lost.
If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset.
To learn which resources support conditions in their IAM policies, see the IAM documentation .
bindings[]
Associates a list of members
, or principals, with a role
. Optionally, may specify a condition
that determines how and when the bindings
are applied. Each of the bindings
must contain at least one principal.
The bindings
in a Policy
can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the bindings
grant 50 different roles to user:alice@example.com
, and not to any other principal, then you can add another 1,450 principals to the bindings
in the Policy
.
audit_configs[]
Specifies cloud audit logging configuration for this policy.
etag
bytes
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the etag
in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag
is returned in the response to getIamPolicy
, and systems are expected to put that etag in the request to setIamPolicy
to ensure that their change will be applied to the same version of the policy.
Important:If you use IAM Conditions, you must include the etag
field whenever you call setIamPolicy
. If you omit this field, then IAM allows you to overwrite a version 3
policy with a version 1
policy, and all of the conditions in the version 3
policy are lost.
PolicyDelta
The difference delta between two policies.
Fields | |
---|---|
binding_deltas[]
|
The delta for Bindings between two policies. |
RemoveAttestationRuleMetadata
This type has no fields.
Metadata for long-running RemoveAttestationRule operation.
RemoveAttestationRuleRequest
Request message for RemoveAttestationRule.
Fields | |
---|---|
resource
|
Required. The resource name of the managed identity or namespace resource to remove an attestation rule from. |
attestation_rule
|
Required. The attestation rule to be removed. |
RemoveAttestationRuleResponse
This type has no fields.
Response message for RemoveAttestationRule.
SetAttestationRulesMetadata
This type has no fields.
Metadata for long-running SetAttestationRules operation.
SetAttestationRulesRequest
Request message for SetAttestationRules.
Fields | |
---|---|
resource
|
Required. The resource name of the managed identity or namespace resource to add an attestation rule to. |
attestation_rules[]
|
Required. The attestation rules to be set. At most 50 attestation rules can be set. |
SetAttestationRulesResponse
This type has no fields.
Response message for SetAttestationRules.
SetIamPolicyRequest
Request message for SetIamPolicy
method.
Fields | |
---|---|
resource
|
REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. |
policy
|
REQUIRED: The complete policy to be applied to the |
update_mask
|
OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: |
TestIamPermissionsRequest
Request message for TestIamPermissions
method.
Fields | |
---|---|
resource
|
REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. |
permissions[]
|
The set of permissions to check for the |
TestIamPermissionsResponse
Response message for TestIamPermissions
method.
Fields | |
---|---|
permissions[]
|
A subset of |
TrustStore
Trust store that contains trust anchors and optional intermediate CAs used in PKI to build a trust chain(trust hierarchy) and verify a client's identity.
Fields | |
---|---|
trust_anchors[]
|
Required. List of trust anchors to be used while performing validation against a given TrustStore. The incoming end entity's certificate must be in the trust chain of one of the trust anchors here. |
intermediate_cas[]
|
Optional. Set of intermediate CA certificates used for building the trust chain to the trust anchor. Important: Intermediate CAs are only supported for X.509 federation. |
IntermediateCA
Intermediate CA certificates used for building the trust chain to trust anchor
Union field kind
.
kind
can be only one of the following:
pem_certificate
string
PEM certificate of the PKI used for validation. Must only contain one ca certificate.
TrustAnchor
Represents a root of trust.
Union field kind
.
kind
can be only one of the following:
pem_certificate
string
PEM certificate of the PKI used for validation. Must only contain one ca certificate(either root or intermediate cert).
UndeleteWorkloadIdentityPoolManagedIdentityRequest
Request message for UndeleteWorkloadIdentityPoolManagedIdentity.
Fields | |
---|---|
name
|
Required. The name of the managed identity to undelete. |
UndeleteWorkloadIdentityPoolNamespaceRequest
Request message for UndeleteWorkloadIdentityPoolNamespace.
Fields | |
---|---|
name
|
Required. The name of the namespace to undelete. |
UndeleteWorkloadIdentityPoolProviderKeyRequest
Request message for UndeleteWorkloadIdentityPoolProviderKey.
Fields | |
---|---|
name
|
Required. The name of the encryption key to undelete. |
UndeleteWorkloadIdentityPoolProviderRequest
Request message for UndeleteWorkloadIdentityPoolProvider.
Fields | |
---|---|
name
|
Required. The name of the provider to undelete. |
UndeleteWorkloadIdentityPoolRequest
Request message for UndeleteWorkloadIdentityPool.
Fields | |
---|---|
name
|
Required. The name of the pool to undelete. |
UpdateWorkloadIdentityPoolManagedIdentityRequest
Request message for UpdateWorkloadIdentityPoolManagedIdentity.
Fields | |
---|---|
workload_identity_pool_managed_identity
|
Required. The managed identity to update. The |
update_mask
|
Required. The list of fields to update. |
UpdateWorkloadIdentityPoolNamespaceRequest
Request message for UpdateWorkloadIdentityPoolNamespace.
Fields | |
---|---|
workload_identity_pool_namespace
|
Required. The namespace to update. The |
update_mask
|
Required. The list of fields to update. |
UpdateWorkloadIdentityPoolProviderRequest
Request message for UpdateWorkloadIdentityPoolProvider.
Fields | |
---|---|
workload_identity_pool_provider
|
Required. The provider to update. |
update_mask
|
Required. The list of fields to update. |
UpdateWorkloadIdentityPoolRequest
Request message for UpdateWorkloadIdentityPool.
Fields | |
---|---|
workload_identity_pool
|
Required. The pool to update. The |
update_mask
|
Required. The list of fields to update. |
WorkloadIdentityPool
Represents a collection of workload identities. You can define IAM policies to grant these identities access to Google Cloud resources.
name
string
Output only. The resource name of the pool.
display_name
string
Optional. A display name for the pool. Cannot exceed 32 characters.
description
string
Optional. A description of the pool. Cannot exceed 256 characters.
state
Output only. The state of the pool.
disabled
bool
Optional. Whether the pool is disabled. You cannot use a disabled pool to exchange tokens, or use existing tokens to access resources. If the pool is re-enabled, existing tokens grant access again.
mode
Immutable. The mode the pool is operating in.
expire_time
Output only. Time after which the workload identity pool will be permanently purged and cannot be recovered.
cert_issuance_config
. Certificate issuance configuration to use for generating X.509 certificates for the workloads. cert_issuance_config
can be only one of the following:inline_certificate_issuance_config
InlineCertificateIssuanceConfig
Optional. Defines the Certificate Authority (CA) pool resources and configurations required for issuance and rotation of mTLS workload certificates.
trust_config
. Trust configuration for establishing trust with other trust domains. trust_config
can be only one of the following:inline_trust_config
Optional. Represents config to add additional trusted trust domains.
InlineCertificateIssuanceConfig
Represents configuration for generating mutual TLS (mTLS) certificates for the identities within this pool.
ca_pools
map<string, string>
Optional. A required mapping of a Google Cloud region to the CA pool resource located in that region. The CA pool is used for certificate issuance, adhering to the following constraints:
-
Key format: A supported cloud region name equivalent to the location identifier in the corresponding map entry's value.
-
Value format: A valid CA pool resource path format like: "projects/{project}/locations/{location}/caPools/{ca_pool}"
-
Region Matching: Workloads are ONLY issued certificates from CA pools within the same region. Also the CA pool region (in value) must match the workload's region (key).
lifetime
Optional. Lifetime of the workload certificates issued by the CA pool. Must be between 24 hours and 30 days. If not specified, this will be defaulted to 24 hours.
key_algorithm
Optional. Key algorithm to use when generating the key pair. This key pair will be used to create the certificate. If not specified, this will default to ECDSA_P256.
rotation_window_percentage
int32
Optional. Rotation window percentage, the percentage of remaining lifetime after which certificate rotation is initiated. Must be between 50 and 80. If no value is specified, rotation window percentage is defaulted to 50.
KeyAlgorithm
Key generation algorithm types for X.509 certificates.
Enums | |
---|---|
KEY_ALGORITHM_UNSPECIFIED
|
Unspecified key algorithm. Defaults to ECDSA_P256. |
RSA_2048
|
Specifies RSA with a 2048-bit modulus. |
RSA_3072
|
Specifies RSA with a 3072-bit modulus. |
RSA_4096
|
Specifies RSA with a 4096-bit modulus. |
ECDSA_P256
|
Specifies ECDSA with curve P256. |
ECDSA_P384
|
Specifies ECDSA with curve P384. |
InlineTrustConfig
Defines configuration for extending trust to additional trust domains. By establishing trust with another domain, the current domain will recognize and accept certificates issued by entities within the trusted domains. Note that a trust domain automatically trusts itself, eliminating the need for explicit configuration.
Fields | |
---|---|
additional_trust_bundles
|
Optional. Maps specific trust domains (e.g., "example.com") to their corresponding Note that a trust domain automatically trusts itself and don't need to be specified here. If however, this WorkloadIdentityPool's trust domain contains any trust anchors in the additional_trust_bundles map, those trust anchors will be appended to the trust bundle automatically derived from your InlineCertificateIssuanceConfig's ca_pools. |
Mode
Represents the mode for the pool.
Enums | |
---|---|
MODE_UNSPECIFIED
|
State unspecified. New pools should not use this mode. Pools with an unspecified mode will operate as if they are in federation-only mode. |
FEDERATION_ONLY
|
Federation-only mode. Federation-only pools can only be used for federating external workload identities into Google Cloud. Unless otherwise noted, no structure or format constraints are applied to workload identities in a federation-only pool, and you cannot create any resources within the pool besides providers. |
TRUST_DOMAIN
|
Trust-domain mode. Trust-domain pools can be used to assign identities to Google Cloud workloads. All identities within a trust-domain pool must consist of a single namespace and individual workload identifier. The subject identifier for all identities must conform to the following format: |
State
The current state of the pool.
Enums | |
---|---|
STATE_UNSPECIFIED
|
State unspecified. |
ACTIVE
|
The pool is active, and may be used in Google Cloud policies. |
DELETED
|
The pool is soft-deleted. Soft-deleted pools are permanently deleted after approximately 30 days. You can restore a soft-deleted pool using You cannot reuse the ID of a soft-deleted pool until it is permanently deleted. While a pool is deleted, you cannot use it to exchange tokens, or use existing tokens to access resources. If the pool is undeleted, existing tokens grant access again. |
WorkloadIdentityPoolManagedIdentity
Represents a managed identity for a workload identity pool namespace.
Fields | |
---|---|
name
|
Identifier. The resource name of the managed identity. |
description
|
Optional. A description of the managed identity. Cannot exceed 256 characters. |
state
|
Output only. The state of the managed identity. |
disabled
|
Optional. Whether the managed identity is disabled. If disabled, credentials may no longer be issued for the identity, however existing credentials will still be accepted until they expire. |
expire_time
|
Output only. Time after which the managed identity will be permanently purged and cannot be recovered. |
State
The current state of the managed identity.
Enums | |
---|---|
STATE_UNSPECIFIED
|
State unspecified. |
ACTIVE
|
The managed identity is active. |
DELETED
|
The managed identity is soft-deleted. Soft-deleted managed identities are permanently deleted after approximately 30 days. You can restore a soft-deleted managed identity using You cannot reuse the ID of a soft-deleted managed identity until it is permanently deleted. |
WorkloadIdentityPoolManagedIdentityOperationMetadata
This type has no fields.
Metadata for long-running WorkloadIdentityPoolManagedIdentity operations.
WorkloadIdentityPoolNamespace
Represents a namespace for a workload identity pool. Namespaces are used to segment identities within the pool.
name
string
Output only. The resource name of the namespace.
description
string
Optional. A description of the namespace. Cannot exceed 256 characters.
state
Output only. The state of the namespace.
disabled
bool
Optional. Whether the namespace is disabled. If disabled, credentials may no longer be issued for identities within this namespace, however existing credentials will still be accepted until they expire.
expire_time
Output only. Time after which the namespace will be permanently purged and cannot be recovered.
owner
. Defines the owner that is allowed to mutate this resource. If present, this resource can only be mutated by the owner. owner
can be only one of the following:owner_service
Output only. The Google Cloud service that owns this namespace.
OwnerService
The Google Cloud service that owns this namespace.
Fields | |
---|---|
principal_subject
|
Required. The service agent principal subject, e.g. "serviceAccount: service-1234@gcp-sa-gkehub.iam.gserviceaccount.com" . |
State
The current state of the namespace.
Enums | |
---|---|
STATE_UNSPECIFIED
|
State unspecified. |
ACTIVE
|
The namespace is active. |
DELETED
|
The namespace is soft-deleted. Soft-deleted namespaces are permanently deleted after approximately 30 days. You can restore a soft-deleted namespace using You cannot reuse the ID of a soft-deleted namespace until it is permanently deleted. |
WorkloadIdentityPoolNamespaceOperationMetadata
This type has no fields.
Metadata for long-running WorkloadIdentityPoolNamespace operations.
WorkloadIdentityPoolOperationMetadata
This type has no fields.
Metadata for long-running WorkloadIdentityPool operations.
WorkloadIdentityPoolProvider
A configuration for an external identity provider.
name
string
Identifier. The resource name of the provider.
display_name
string
Optional. A display name for the provider. Cannot exceed 32 characters.
description
string
Optional. A description for the provider. Cannot exceed 256 characters.
state
Output only. The state of the provider.
disabled
bool
Optional. Whether the provider is disabled. You cannot use a disabled provider to exchange tokens. However, existing tokens still grant access.
attribute_mapping
map<string, string>
Optional. Maps attributes from authentication credentials issued by an external identity provider to Google Cloud attributes, such as subject
and segment
.
Each key must be a string specifying the Google Cloud IAM attribute to map to.
The following keys are supported:
-
google.subject
: The principal IAM is authenticating. You can reference this value in IAM bindings. This is also the subject that appears in Cloud Logging logs. Cannot exceed 127 bytes. -
google.groups
: Groups the external identity belongs to. You can grant groups access to resources using an IAMprincipalSet
binding; access applies to all members of the group.
You can also provide custom attributes by specifying attribute.{custom_attribute}
, where {custom_attribute}
is the name of the custom attribute to be mapped. You can define a maximum of 50 custom attributes. The maximum length of a mapped attribute key is 100 characters, and the key may only contain the characters [a-z0-9_].
You can reference these attributes in IAM policies to define fine-grained access for a workload to Google Cloud resources. For example:
-
google.subject
:principal://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/subject/{value}
-
google.groups
:principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/group/{value}
-
attribute.{custom_attribute}
:principalSet://iam.googleapis.com/projects/{project}/locations/{location}/workloadIdentityPools/{pool}/attribute.{custom_attribute}/{value}
Each value must be a Common Expression Language function that maps an identity provider credential to the normalized attribute specified by the corresponding map key.
You can use the assertion
keyword in the expression to access a JSON representation of the authentication credential issued by the provider.
The maximum length of an attribute mapping expression is 2048 characters. When evaluated, the total size of all mapped attributes must not exceed 8KB.
For AWS providers, if no attribute mapping is defined, the following default mapping applies:
{
"google.subject":"assertion.arn",
"attribute.aws_role":
"assertion.arn.contains('assumed-role')"
" ? assertion.arn.extract('{account_arn}assumed-role/')"
" + 'assumed-role/'"
" + assertion.arn.extract('assumed-role/{role_name}/')"
" : assertion.arn",
}
If any custom attribute mappings are defined, they must include a mapping to the google.subject
attribute.
For OIDC providers, you must supply a custom mapping, which must include the google.subject
attribute. For example, the following maps the sub
claim of the incoming credential to the subject
attribute on a Google token:
{"google.subject": "assertion.sub"}
attribute_condition
string
Optional. A Common Expression Language expression, in plain text, to restrict what otherwise valid authentication credentials issued by the provider should not be accepted.
The expression must output a boolean representing whether to allow the federation.
The following keywords may be referenced in the expressions:
-
assertion
: JSON representing the authentication credential issued by the provider. -
google
: The Google attributes mapped from the assertion in theattribute_mappings
. -
attribute
: The custom attributes mapped from the assertion in theattribute_mappings
.
The maximum length of the attribute condition expression is 4096 characters. If unspecified, all valid authentication credential are accepted.
The following example shows how to only allow credentials with a mapped google.groups
value of admins
:
"'admins' in google.groups"
expire_time
Output only. Time after which the workload identity pool provider will be permanently purged and cannot be recovered.
provider_config
. Identity provider configuration types. provider_config
can be only one of the following:aws
An Amazon Web Services identity provider.
oidc
An OpenId Connect 1.0 identity provider.
saml
An SAML 2.0 identity provider.
x509
An X.509-type identity provider.
Aws
Represents an Amazon Web Services identity provider.
Fields | |
---|---|
account_id
|
Required. The AWS account ID. |
Oidc
Represents an OpenId Connect 1.0 identity provider.
Fields | |
---|---|
issuer_uri
|
Required. The OIDC issuer URL. Must be an HTTPS endpoint. Per OpenID Connect Discovery 1.0 spec, the OIDC issuer URL is used to locate the provider's public keys (via |
allowed_audiences[]
|
Optional. Acceptable values for the If this list is empty, the OIDC token audience must be equal to the full canonical resource name of the WorkloadIdentityPoolProvider, with or without the HTTPS prefix. For example:
|
jwks_json
|
Optional. OIDC JWKs in JSON String format. For details on the definition of a JWK, see https://tools.ietf.org/html/rfc7517
. If not set, the |
Saml
Represents an SAML 2.0 identity provider.
Union field identity_provider
.
identity_provider
can be only one of the following:
State
The current state of the provider.
Enums | |
---|---|
STATE_UNSPECIFIED
|
State unspecified. |
ACTIVE
|
The provider is active, and may be used to validate authentication credentials. |
DELETED
|
The provider is soft-deleted. Soft-deleted providers are permanently deleted after approximately 30 days. You can restore a soft-deleted provider using You cannot reuse the ID of a soft-deleted provider until it is permanently deleted. |
X509
An X.509-type identity provider represents a CA. It is trusted to assert a client identity if the client has a certificate that chains up to this CA.
Fields | |
---|---|
trust_store
|
Required. A |
WorkloadIdentityPoolProviderKey
Represents a public key configuration for your workload identity pool provider. The key can be configured in your identity provider to encrypt the SAML assertions. Google holds the corresponding private key which it uses to decrypt encrypted tokens.
Fields | |
---|---|
name
|
Output only. The resource name of the key. |
key_data
|
Immutable. Public half of the asymmetric key. |
state
|
Output only. The state of the key. |
use
|
Required. The purpose of the key. |
expire_time
|
Output only. Time after which the key will be permanently purged and cannot be recovered. Note that the key may get purged before this timestamp if the total limit of keys per provider is crossed. |
KeyUse
The uses for which a workload identity pool provider key might be generated. A key has exactly one use.
Enums | |
---|---|
KEY_USE_UNSPECIFIED
|
The key use is not known. |
ENCRYPTION
|
The public key is used for encryption purposes. |
State
The current state of the key.
Enums | |
---|---|
STATE_UNSPECIFIED
|
State unspecified. |
ACTIVE
|
The key is active. |
DELETED
|
The key is soft-deleted. Soft-deleted keys are permanently deleted after approximately 30 days. You can restore a soft-deleted key using UndeleteWorkloadIdentityPoolProviderKey
. While a key is deleted, you cannot use it during the federation. |
WorkloadIdentityPoolProviderKeyOperationMetadata
This type has no fields.
Metadata for long-running WorkloadIdentityPoolProviderKey operations.
WorkloadIdentityPoolProviderOperationMetadata
This type has no fields.
Metadata for long-running WorkloadIdentityPoolProvider operations.