Skip to main content

instances_auth_string

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

Overview​

Nameinstances_auth_string
TypeResource
Idgoogle.redis.instances_auth_string

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
authStringstringAUTH string set on the instance.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_auth_stringselectprojectsId, locationsId, instancesIdGets 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.

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
instancesIdstring
locationsIdstring
projectsIdstring

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 projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND instancesId = '{{ instancesId }}' -- required
;