Skip to main content

databases_keys

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

Overview

Namedatabases_keys
TypeResource
Idazure_isv.redis_enterprise.databases_keys

Fields

NameDatatypeDescription
primaryKeystringThe current primary key that clients can use to authenticate
secondaryKeystringThe current secondary key that clients can use to authenticate

Methods

NameAccessible byRequired ParamsDescription
listSELECTclusterName, databaseName, resourceGroupName, subscriptionIdRetrieves the access keys for the Redis Enterprise database.

SELECT examples

Retrieves the access keys for the Redis Enterprise database.

SELECT
primaryKey,
secondaryKey
FROM azure_isv.redis_enterprise.databases_keys
WHERE clusterName = '{{ clusterName }}'
AND databaseName = '{{ databaseName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';