/google-iam | Type: Application | PCID required: Yes
Identity and access management
Tools
| Tool | Description |
|---|---|
google-iam_list_service_accounts | List all service accounts in a Google Cloud project. |
google-iam_get_service_account | Get details of a specific service account by email address. |
google-iam_create_service_account | Create a new service account in a Google Cloud project. |
google-iam_update_service_account | Update a service account display name or description. |
google-iam_delete_service_account | Delete a service account from a Google Cloud project. |
google-iam_list_service_account_keys | List all keys for a specific service account. |
google-iam_create_service_account_key | Create a new key for a service account. |
google-iam_delete_service_account_key | Delete a service account key. |
google-iam_get_iam_policy | Get the IAM policy for a Google Cloud project. |
google-iam_set_iam_policy | Set the IAM policy for a Google Cloud project. |
google-iam_test_iam_permissions | Test which permissions the caller has on a Google Cloud project. |
google-iam_list_predefined_roles | List all predefined Google Cloud IAM roles. |
google-iam_list_custom_roles | List custom IAM roles in a Google Cloud project. |
google-iam_get_role | Get details of a specific custom IAM role. |
google-iam_create_role | Create a new custom IAM role in a Google Cloud project. |
google-iam_update_role | Update a custom IAM role in a Google Cloud project. |
google-iam_delete_role | Delete a custom IAM role from a Google Cloud project. |
google-iam_list_service_accounts
List all service accounts in a Google Cloud project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
google-iam_get_service_account
Get details of a specific service account by email address. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
serviceAccountEmail | string | Yes | — | Service account email address |
google-iam_create_service_account
Create a new service account in a Google Cloud project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
accountId | string | Yes | — | Unique ID for the service account (used in email) |
displayName | string | No | — | Human-readable display name |
description | string | No | — | Description of the service account |
google-iam_update_service_account
Update a service account display name or description. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
serviceAccountEmail | string | Yes | — | Service account email address |
displayName | string | No | — | Updated display name |
description | string | No | — | Updated description |
etag | string | Yes | — | Current etag of the service account for optimistic concurrency |
google-iam_delete_service_account
Delete a service account from a Google Cloud project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
serviceAccountEmail | string | Yes | — | Service account email address to delete |
google-iam_list_service_account_keys
List all keys for a specific service account. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
serviceAccountEmail | string | Yes | — | Service account email address |
google-iam_create_service_account_key
Create a new key for a service account. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
serviceAccountEmail | string | Yes | — | Service account email address |
keyAlgorithm | string | No | "KEY_ALG_RSA_2048" | Key algorithm (e.g., KEY_ALG_RSA_2048) |
privateKeyType | string | No | "TYPE_GOOGLE_CREDENTIALS_FILE" | Private key type (e.g., TYPE_GOOGLE_CREDENTIALS_FILE) |
google-iam_delete_service_account_key
Delete a service account key. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
serviceAccountEmail | string | Yes | — | Service account email address |
keyId | string | Yes | — | Service account key ID to delete |
google-iam_get_iam_policy
Get the IAM policy for a Google Cloud project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
requestedPolicyVersion | number | No | 3 | Policy version to request (1, 2, or 3) |
google-iam_set_iam_policy
Set the IAM policy for a Google Cloud project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
policy | object | Yes | — | IAM policy object |
google-iam_test_iam_permissions
Test which permissions the caller has on a Google Cloud project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
permissions | string[] | Yes | — | Array of permissions to test (e.g., [“iam.serviceAccounts.create”, “resourcemanager.projects.get”]) |
google-iam_list_predefined_roles
List all predefined Google Cloud IAM roles.google-iam_list_custom_roles
List custom IAM roles in a Google Cloud project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
google-iam_get_role
Get details of a specific custom IAM role. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
roleName | string | Yes | — | Custom role name (without projects/PROJECT_ID/roles/ prefix) |
google-iam_create_role
Create a new custom IAM role in a Google Cloud project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
roleId | string | Yes | — | Unique ID for the custom role |
title | string | Yes | — | Human-readable title for the role |
description | string | No | — | Description of the role |
includedPermissions | string[] | Yes | — | Array of permissions to include in the role |
stage | string | No | "GA" | Role stage (ALPHA, BETA, GA, DEPRECATED) |
google-iam_update_role
Update a custom IAM role in a Google Cloud project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
roleName | string | Yes | — | Custom role name to update |
title | string | No | — | Updated title |
description | string | No | — | Updated description |
includedPermissions | string[] | No | — | Updated array of permissions |
etag | string | Yes | — | Current etag of the role for optimistic concurrency |
google-iam_delete_role
Delete a custom IAM role from a Google Cloud project. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | Google Cloud Project ID |
roleName | string | Yes | — | Custom role name to delete |

