Blockchain Members - List Api Keys

Lists the API keys for a blockchain member.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Blockchain/blockchainMembers/{blockchainMemberName}/listApiKeys?api-version=2018-06-01-preview

URI Parameters

Name In Required Type Description
subscriptionId
path True
  • string

Gets the subscription Id which uniquely identifies the Microsoft Azure subscription. The subscription ID is part of the URI for every service call.

resourceGroupName
path True
  • string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

blockchainMemberName
path True
  • string

Blockchain member name.

api-version
query True
  • string

Client API Version.

Responses

Name Type Description
200 OK

Success

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

BlockchainMembers_ListApiKeys

Sample Request

POST https://management.azure.com/subscriptions/51766542-3ed7-4a72-a187-0c8ab644ddab/resourceGroups/mygroup/providers/Microsoft.Blockchain/blockchainMembers/contosemember1/listApiKeys?api-version=2018-06-01-preview

Sample Response

{
  "keys": [
    {
      "keyName": "key1",
      "value": "-EnIUzu29xj60xPJmstyCURo"
    },
    {
      "keyName": "key2",
      "value": "I8P-q4u_WDuCZUBYXnJ3yYX7"
    }
  ]
}

Definitions

ApiKey

API key payload which is exposed in the request/response of the resource provider.

ApiKeyCollection

Collection of the API key payload which is exposed in the response of the resource provider.

ApiKey

API key payload which is exposed in the request/response of the resource provider.

Name Type Description
keyName
  • string

Gets or sets the API key name.

value
  • string

Gets or sets the API key value.

ApiKeyCollection

Collection of the API key payload which is exposed in the response of the resource provider.

Name Type Description
keys

Gets or sets the collection of API key.