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

The following fields are returned by SELECT queries:

The access keys for the specified database.

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceGroupName, clusterName, databaseName, subscriptionIdRetrieves the access keys for the Redis Enterprise database.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
clusterNamestringThe name of the Redis Enterprise cluster.
databaseNamestringThe name of the Redis Enterprise database.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Retrieves the access keys for the Redis Enterprise database.

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