Skip to main content

keys

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

Overview

Namekeys
TypeResource
Idazure_isv.redis.keys

Fields

NameDatatypeDescription
primaryKeystringThe current primary key that clients can use to authenticate with Redis cache.
secondaryKeystringThe current secondary key that clients can use to authenticate with Redis cache.

Methods

NameAccessible byRequired ParamsDescription
listSELECTname, resourceGroupName, subscriptionIdRetrieve a Redis cache's access keys. This operation requires write permission to the cache resource.

SELECT examples

Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.

SELECT
primaryKey,
secondaryKey
FROM azure_isv.redis.keys
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';