databases_keys
Creates, updates, deletes, gets or lists a databases_keys
resource.
Overview
Name | databases_keys |
Type | Resource |
Id | azure_isv.redis_enterprise.databases_keys |
Fields
Name | Datatype | Description |
---|---|---|
primaryKey | string | The current primary key that clients can use to authenticate |
secondaryKey | string | The current secondary key that clients can use to authenticate |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | clusterName, databaseName, resourceGroupName, subscriptionId | Retrieves 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 }}';