Skip to main content

instances_auth_string

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

Overview

Nameinstances_auth_string
TypeResource
Idgoogle.redis.instances_auth_string

Fields

NameDatatypeDescription
authStringstringAUTH string set on the instance.

Methods

NameAccessible byRequired ParamsDescription
get_auth_stringSELECTinstancesId, locationsId, projectsIdGets the AUTH string for a Redis instance. If AUTH is not enabled for the instance the response will be empty. This information is not included in the details returned to GetInstance.

SELECT examples

Gets the AUTH string for a Redis instance. If AUTH is not enabled for the instance the response will be empty. This information is not included in the details returned to GetInstance.

SELECT
authString
FROM google.redis.instances_auth_string
WHERE instancesId = '{{ instancesId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';