Microsoft Azure · Capability

Microsoft Azure GraphRbacManagementClient — ServicePrincipalKeyCredentials

Microsoft Azure GraphRbacManagementClient — ServicePrincipalKeyCredentials. 2 operations. Lead operation: Microsoft Azure Get Tenantid Serviceprincipals Objectid Keycredentials. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureServicePrincipalKeyCredentials

What You Can Do

GET
Microsoftazureserviceprincipalslistkeycredentials — Microsoft Azure Get Tenantid Serviceprincipals Objectid Keycredentials
/v1/{tenantid}/serviceprincipals/{objectid}/keycredentials
PATCH
Microsoftazureserviceprincipalsupdatekeycredentials — Microsoft Azure Patch Tenantid Serviceprincipals Objectid Keycredentials
/v1/{tenantid}/serviceprincipals/{objectid}/keycredentials

MCP Tools

microsoft-azure-get-tenantid-serviceprincipals

Microsoft Azure Get Tenantid Serviceprincipals Objectid Keycredentials

read-only idempotent
microsoft-azure-patch-tenantid-serviceprincipals

Microsoft Azure Patch Tenantid Serviceprincipals Objectid Keycredentials

idempotent

Capability Spec

graphrbacmanagementclient-serviceprincipalkeycredentials.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure GraphRbacManagementClient — ServicePrincipalKeyCredentials
  description: 'Microsoft Azure GraphRbacManagementClient — ServicePrincipalKeyCredentials. 2 operations. Lead operation:
    Microsoft Azure Get Tenantid Serviceprincipals Objectid Keycredentials. Self-contained Naftiko capability covering one
    Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - ServicePrincipalKeyCredentials
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: graphrbacmanagementclient-serviceprincipalkeycredentials
    baseUri: https://graph.windows.net
    description: Microsoft Azure GraphRbacManagementClient — ServicePrincipalKeyCredentials business capability. Self-contained,
      no shared references.
    resources:
    - name: tenantID-servicePrincipals-objectId-keyCredentials
      path: /{tenantID}/servicePrincipals/{objectId}/keyCredentials
      operations:
      - name: microsoftazureserviceprincipalslistkeycredentials
        method: GET
        description: Microsoft Azure Get Tenantid Serviceprincipals Objectid Keycredentials
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: objectId
          in: path
          type: string
          description: The object ID of the service principal for which to get keyCredentials.
          required: true
      - name: microsoftazureserviceprincipalsupdatekeycredentials
        method: PATCH
        description: Microsoft Azure Patch Tenantid Serviceprincipals Objectid Keycredentials
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: objectId
          in: path
          type: string
          description: The object ID for which to get service principal information.
          required: true
        - name: parameters
          in: body
          type: string
          description: Parameters to update the keyCredentials of an existing service principal.
          required: true
  exposes:
  - type: rest
    namespace: graphrbacmanagementclient-serviceprincipalkeycredentials-rest
    port: 8080
    description: REST adapter for Microsoft Azure GraphRbacManagementClient — ServicePrincipalKeyCredentials. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/{tenantid}/serviceprincipals/{objectid}/keycredentials
      name: tenantid-serviceprincipals-objectid-keycredentials
      description: REST surface for tenantID-servicePrincipals-objectId-keyCredentials.
      operations:
      - method: GET
        name: microsoftazureserviceprincipalslistkeycredentials
        description: Microsoft Azure Get Tenantid Serviceprincipals Objectid Keycredentials
        call: graphrbacmanagementclient-serviceprincipalkeycredentials.microsoftazureserviceprincipalslistkeycredentials
        with:
          objectId: rest.objectId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: microsoftazureserviceprincipalsupdatekeycredentials
        description: Microsoft Azure Patch Tenantid Serviceprincipals Objectid Keycredentials
        call: graphrbacmanagementclient-serviceprincipalkeycredentials.microsoftazureserviceprincipalsupdatekeycredentials
        with:
          objectId: rest.objectId
          parameters: rest.parameters
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: graphrbacmanagementclient-serviceprincipalkeycredentials-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure GraphRbacManagementClient — ServicePrincipalKeyCredentials. One tool per
      consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-get-tenantid-serviceprincipals
      description: Microsoft Azure Get Tenantid Serviceprincipals Objectid Keycredentials
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: graphrbacmanagementclient-serviceprincipalkeycredentials.microsoftazureserviceprincipalslistkeycredentials
      with:
        objectId: tools.objectId
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-patch-tenantid-serviceprincipals
      description: Microsoft Azure Patch Tenantid Serviceprincipals Objectid Keycredentials
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: graphrbacmanagementclient-serviceprincipalkeycredentials.microsoftazureserviceprincipalsupdatekeycredentials
      with:
        objectId: tools.objectId
        parameters: tools.parameters
      outputParameters:
      - type: object
        mapping: $.