Azure Automation List Keys API

The ListKeys API from Azure Automation — 1 operation(s) for listkeys.

Operations 1

POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/listKeys Keys list by automation account #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure-automation:microsoft-azure-automation-listkeys-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-automation-listkeys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Automation List Keys API
  version: '2024-10-23'
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
  description: 'Operations tagged ListKeys across 2 of this provider''s published API definitions: microsoft-azure-automation-openapi.json, microsoft-azure-automation-management-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: ListKeys
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/listKeys
  : post:
      operationId: Keys_ListByAutomationAccount
      tags:
      - ListKeys
      description: Retrieve the automation keys for an account.
      parameters:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - name: automationAccountName
        in: path
        description: The name of the automation account.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KeyListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Get lists of an automation account:
          $ref: ./examples/listAutomationAccountKeys.json
      summary: Keys list by automation account
      x-summary-source: derived
    servers:
    - url: https://management.azure.com
components:
  schemas:
    Key:
      type: object
      description: Automation key which is used to register a DSC Node
      properties:
        KeyName:
          $ref: '#/components/schemas/AutomationKeyName'
          description: Automation key name.
          readOnly: true
        Permissions:
          $ref: '#/components/schemas/AutomationKeyPermissions'
          description: Automation key permissions.
          readOnly: true
        Value:
          type: string
          description: Value of the Automation Key used for registration.
          readOnly: true
    KeyListResult:
      type: object
      properties:
        keys:
          type: array
          description: Lists the automation keys.
          items:
            $ref: '#/components/schemas/Key'
          x-ms-identifiers:
          - KeyName
    AutomationKeyPermissions:
      type: string
      description: Automation key permissions.
      enum:
      - Read
      - Full
      x-ms-enum:
        name: AutomationKeyPermissions
        modelAsString: true
        values:
        - name: Read
          value: Read
          description: Read
        - name: Full
          value: Full
          description: Full
    AutomationKeyName:
      type: string
      description: Automation key name.
      enum:
      - Primary
      - Secondary
      x-ms-enum:
        name: AutomationKeyName
        modelAsString: true
        values:
        - name: Primary
          value: Primary
          description: Primary
        - name: Secondary
          value: Secondary
          description: Secondary
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.
x-refined-from:
- microsoft-azure-automation-openapi.json
- microsoft-azure-automation-management-openapi.yml