Skip to main content
Server path: /google-iam | Type: Application | PCID required: Yes Identity and access management

Tools

ToolDescription
google-iam_list_service_accountsList all service accounts in a Google Cloud project.
google-iam_get_service_accountGet details of a specific service account by email address.
google-iam_create_service_accountCreate a new service account in a Google Cloud project.
google-iam_update_service_accountUpdate a service account display name or description.
google-iam_delete_service_accountDelete a service account from a Google Cloud project.
google-iam_list_service_account_keysList all keys for a specific service account.
google-iam_create_service_account_keyCreate a new key for a service account.
google-iam_delete_service_account_keyDelete a service account key.
google-iam_get_iam_policyGet the IAM policy for a Google Cloud project.
google-iam_set_iam_policySet the IAM policy for a Google Cloud project.
google-iam_test_iam_permissionsTest which permissions the caller has on a Google Cloud project.
google-iam_list_predefined_rolesList all predefined Google Cloud IAM roles.
google-iam_list_custom_rolesList custom IAM roles in a Google Cloud project.
google-iam_get_roleGet details of a specific custom IAM role.
google-iam_create_roleCreate a new custom IAM role in a Google Cloud project.
google-iam_update_roleUpdate a custom IAM role in a Google Cloud project.
google-iam_delete_roleDelete a custom IAM role from a Google Cloud project.

google-iam_list_service_accounts

List all service accounts in a Google Cloud project. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID

google-iam_get_service_account

Get details of a specific service account by email address. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID
serviceAccountEmailstringYesService account email address

google-iam_create_service_account

Create a new service account in a Google Cloud project. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID
accountIdstringYesUnique ID for the service account (used in email)
displayNamestringNoHuman-readable display name
descriptionstringNoDescription of the service account

google-iam_update_service_account

Update a service account display name or description. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID
serviceAccountEmailstringYesService account email address
displayNamestringNoUpdated display name
descriptionstringNoUpdated description
etagstringYesCurrent etag of the service account for optimistic concurrency

google-iam_delete_service_account

Delete a service account from a Google Cloud project. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID
serviceAccountEmailstringYesService account email address to delete

google-iam_list_service_account_keys

List all keys for a specific service account. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID
serviceAccountEmailstringYesService account email address

google-iam_create_service_account_key

Create a new key for a service account. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID
serviceAccountEmailstringYesService account email address
keyAlgorithmstringNo"KEY_ALG_RSA_2048"Key algorithm (e.g., KEY_ALG_RSA_2048)
privateKeyTypestringNo"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:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID
serviceAccountEmailstringYesService account email address
keyIdstringYesService account key ID to delete

google-iam_get_iam_policy

Get the IAM policy for a Google Cloud project. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID
requestedPolicyVersionnumberNo3Policy version to request (1, 2, or 3)

google-iam_set_iam_policy

Set the IAM policy for a Google Cloud project. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID
policyobjectYesIAM policy object

google-iam_test_iam_permissions

Test which permissions the caller has on a Google Cloud project. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID
permissionsstring[]YesArray 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:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID

google-iam_get_role

Get details of a specific custom IAM role. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID
roleNamestringYesCustom role name (without projects/PROJECT_ID/roles/ prefix)

google-iam_create_role

Create a new custom IAM role in a Google Cloud project. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID
roleIdstringYesUnique ID for the custom role
titlestringYesHuman-readable title for the role
descriptionstringNoDescription of the role
includedPermissionsstring[]YesArray of permissions to include in the role
stagestringNo"GA"Role stage (ALPHA, BETA, GA, DEPRECATED)

google-iam_update_role

Update a custom IAM role in a Google Cloud project. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID
roleNamestringYesCustom role name to update
titlestringNoUpdated title
descriptionstringNoUpdated description
includedPermissionsstring[]NoUpdated array of permissions
etagstringYesCurrent etag of the role for optimistic concurrency

google-iam_delete_role

Delete a custom IAM role from a Google Cloud project. Parameters:
ParameterTypeRequiredDefaultDescription
projectIdstringYesGoogle Cloud Project ID
roleNamestringYesCustom role name to delete