Skip to main content

accounts_keys

Creates, updates, deletes, gets or lists a accounts_keys resource.

Overview

Nameaccounts_keys
TypeResource
Idazure.cognitive_services.accounts_keys

Fields

NameDatatypeDescription
key1stringGets the value of key 1.
key2stringGets the value of key 2.

Methods

NameAccessible byRequired ParamsDescription
listSELECTaccountName, resourceGroupName, subscriptionIdLists the account keys for the specified Cognitive Services account.

SELECT examples

Lists the account keys for the specified Cognitive Services account.

SELECT
key1,
key2
FROM azure.cognitive_services.accounts_keys
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';