获取已启用基本身份验证的集群的特定令牌身份验证用户。
HTTP 请求
GET https://redis.googleapis.com/v1beta1/{name=projects/*/locations/*/clusters/*/tokenAuthUsers/*}
网址采用 gRPC 转码语法。
路径参数
| 参数 | |
|---|---|
name |
必需。已启用基于令牌的身份验证的集群的令牌身份验证用户的名称。格式:projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{tokenAuthUser} |
请求正文
请求正文必须为空。
响应正文
如果成功,则响应正文包含一个 TokenAuthUser 实例。
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/redis.read-write
如需了解详情,请参阅 Authentication Overview。