swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector GetApiKeys API schemes: - https tags: - name: GetApiKeys paths: /subscriptions/{subscriptionId}/providers/Microsoft.Marketplace/keys: get: tags: - GetApiKeys summary: 'Microsoft Azure Retrieves A List Of Api Keys Associated With A Selected Subscription Please Note That This Api Is Currently In A Preview State And Requires Sign Up To The Discovery Api Key Early Access Preview Feature Using A Valid Azure Subscription For More Information On This Process Please See The Documentation For Marketplace Catalog Apis [here] Https: Learn Microsoft Com En Us Rest Api Marketplacecatalog Dataplane Products Get?view Rest Marketplacecatalog Dataplane 2023 05 01 Preview&tabs Http' operationId: microsoftAzureGetapikeysList x-ms-examples: Get_Key: $ref: ./examples/GetKeys.json parameters: - type: string name: x-ms-client-tenant-id x-originalName: tenantId description: The tenant associated with the subscription. in: header required: true x-nullable: true - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter responses: '200': x-nullable: false description: List of active keys that belong to the subscription. schema: $ref: '#/definitions/ApiKeys' default: description: Microsoft.Marketplace error response describing why the operation failed. schema: $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-pageable: nextLinkName: nextLink description: Needs a more full description created. definitions: ApiKeys: type: object description: List of ApiKey objects. properties: value: type: array items: $ref: '#/definitions/ApiKey' nextLink: description: Next page of results. type: string ApiKey: type: object description: ApiKey object containing both the key and its alias. properties: keyAlias: description: The API key alias. type: string key: description: The API key to be used when calling relevant Discovery endpoints. type: string x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'