Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Managed Service for Valkey™
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • Delete
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  • FAQ

In this article:

  • gRPC request
  • ListUsersRequest
  • ListUsersResponse
  • User
  • Permissions
  1. API reference
  2. gRPC
  3. User
  4. List

Managed Service for Redis API, gRPC: UserService.List

Written by
Yandex Cloud
Updated at January 23, 2025
  • gRPC request
  • ListUsersRequest
  • ListUsersResponse
  • User
  • Permissions

Retrieves the list of Redis User resources in the specified cluster.

gRPC requestgRPC request

rpc List (ListUsersRequest) returns (ListUsersResponse)

ListUsersRequestListUsersRequest

{
  "cluster_id": "string",
  "page_size": "int64",
  "page_token": "string"
}

Field

Description

cluster_id

string

Required field. ID of the cluster to list Redis users in.
To get the cluster ID, use a ClusterService.List request.

page_size

int64

The maximum number of results per page to return. If the number of available
results is larger than page_size, the service returns a ListUsersResponse.next_page_token
that can be used to get the next page of results in subsequent list requests.

page_token

string

Page token. To get the next page of results, set page_token to the
ListUsersResponse.next_page_token returned by the previous list request.

ListUsersResponseListUsersResponse

{
  "users": [
    {
      "name": "string",
      "cluster_id": "string",
      "permissions": {
        "patterns": "google.protobuf.StringValue",
        "pub_sub_channels": "google.protobuf.StringValue",
        "categories": "google.protobuf.StringValue",
        "commands": "google.protobuf.StringValue",
        "sanitize_payload": "google.protobuf.StringValue"
      },
      "enabled": "bool",
      "acl_options": "string"
    }
  ],
  "next_page_token": "string"
}

Field

Description

users[]

User

List of Redis User resources.

next_page_token

string

This token allows you to get the next page of results for list requests. If the number of results
is larger than ListUsersRequest.page_size, use the next_page_token as the value
for the ListUsersRequest.page_token parameter in the next list request. Each subsequent
list request will have its own next_page_token to continue paging through the results.

UserUser

A Redis User resource. For more information, see the
Developer's Guide.

Field

Description

name

string

Name of the Redis user.

cluster_id

string

ID of the Redis cluster the user belongs to.

permissions

Permissions

Set of permissions to grant to the user.

enabled

bool

Is redis user enabled

acl_options

string

Raw ACL string inside of Redis

PermissionsPermissions

Field

Description

patterns

google.protobuf.StringValue

Keys patterns user has permission to.

pub_sub_channels

google.protobuf.StringValue

Channel patterns user has permissions to.

categories

google.protobuf.StringValue

Command categories user has permissions to.

commands

google.protobuf.StringValue

Commands user can execute.

sanitize_payload

google.protobuf.StringValue

SanitizePayload parameter.

Was the article helpful?

Previous
Get
Next
Create
Yandex project
© 2025 Yandex.Cloud LLC