create_service_account
Generate a new service account in a GCP project by specifying project ID, account ID, display name, and optional description, simplifying IAM management.
Instructions
Create a new service account in a GCP project.
Args:
project_id: The ID of the GCP project
account_id: The ID for the service account (must be between 6 and 30 characters)
display_name: A user-friendly name for the service account
description: Optional description for the service account
Returns:
Result of the service account creation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
account_id | Yes | ||
description | No | ||
display_name | Yes | ||
project_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"account_id": {
"title": "Account Id",
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"display_name": {
"title": "Display Name",
"type": "string"
},
"project_id": {
"title": "Project Id",
"type": "string"
}
},
"required": [
"project_id",
"account_id",
"display_name"
],
"title": "create_service_accountArguments",
"type": "object"
}