Google Cloud IAM · Capability

Google Cloud IAM API — Service Account Keys

Google Cloud IAM API — Service Account Keys. 2 operations. Lead operation: Google Cloud IAM List service account keys. Self-contained Naftiko capability covering one Google Cloud Iam business surface.

Run with Naftiko Google Cloud IamService Account Keys

What You Can Do

GET
Listserviceaccountkeys — Google Cloud IAM List service account keys
/v1/projects/{projectid}/serviceaccounts/{serviceaccountemail}/keys
POST
Createserviceaccountkey — Google Cloud IAM Create a service account key
/v1/projects/{projectid}/serviceaccounts/{serviceaccountemail}/keys

MCP Tools

google-cloud-iam-list-service

Google Cloud IAM List service account keys

read-only idempotent
google-cloud-iam-create-service

Google Cloud IAM Create a service account key

Capability Spec

openapi-service-account-keys.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Cloud IAM API — Service Account Keys
  description: 'Google Cloud IAM API — Service Account Keys. 2 operations. Lead operation: Google Cloud IAM List service account
    keys. Self-contained Naftiko capability covering one Google Cloud Iam business surface.'
  tags:
  - Google Cloud Iam
  - Service Account Keys
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_CLOUD_IAM_API_KEY: GOOGLE_CLOUD_IAM_API_KEY
capability:
  consumes:
  - type: http
    namespace: openapi-service-account-keys
    baseUri: https://iam.googleapis.com/v1
    description: Google Cloud IAM API — Service Account Keys business capability. Self-contained, no shared references.
    resources:
    - name: projects-projectId-serviceAccounts-serviceAccountEmail-keys
      path: /projects/{projectId}/serviceAccounts/{serviceAccountEmail}/keys
      operations:
      - name: listserviceaccountkeys
        method: GET
        description: Google Cloud IAM List service account keys
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: serviceAccountEmail
          in: path
          type: string
          required: true
      - name: createserviceaccountkey
        method: POST
        description: Google Cloud IAM Create a service account key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        - name: serviceAccountEmail
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GOOGLE_CLOUD_IAM_API_KEY}}'
  exposes:
  - type: rest
    namespace: openapi-service-account-keys-rest
    port: 8080
    description: REST adapter for Google Cloud IAM API — Service Account Keys. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/projects/{projectid}/serviceaccounts/{serviceaccountemail}/keys
      name: projects-projectid-serviceaccounts-serviceaccountemail-keys
      description: REST surface for projects-projectId-serviceAccounts-serviceAccountEmail-keys.
      operations:
      - method: GET
        name: listserviceaccountkeys
        description: Google Cloud IAM List service account keys
        call: openapi-service-account-keys.listserviceaccountkeys
        with:
          projectId: rest.projectId
          serviceAccountEmail: rest.serviceAccountEmail
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createserviceaccountkey
        description: Google Cloud IAM Create a service account key
        call: openapi-service-account-keys.createserviceaccountkey
        with:
          projectId: rest.projectId
          serviceAccountEmail: rest.serviceAccountEmail
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: openapi-service-account-keys-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Cloud IAM API — Service Account Keys. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: google-cloud-iam-list-service
      description: Google Cloud IAM List service account keys
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: openapi-service-account-keys.listserviceaccountkeys
      with:
        projectId: tools.projectId
        serviceAccountEmail: tools.serviceAccountEmail
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-iam-create-service
      description: Google Cloud IAM Create a service account key
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: openapi-service-account-keys.createserviceaccountkey
      with:
        projectId: tools.projectId
        serviceAccountEmail: tools.serviceAccountEmail
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.