alloydb-list-users

The “alloydb-list-users” tool lists all database users within an AlloyDB cluster.

About

The alloydb-list-users tool lists all database users within an AlloyDB cluster. It is compatible with alloydb-admin source. The tool takes the following input parameters:

ParameterTypeDescriptionRequired
projectIdstringThe GCP project ID to list users for.Yes
clusterIdstringThe ID of the cluster to list users from.Yes
locationIdstringThe location of the cluster (e.g., ‘us-central1’).Yes

Note This tool authenticates using the credentials configured in its alloydb-admin source which can be either Application Default Credentials or client-side OAuth.

Example

tools:
  list_users:
    kind: alloydb-list-users
    source: alloydb-admin-source
    description: Use this tool to list all database users within an AlloyDB cluster

Reference

fieldtyperequireddescription
kindstringtrueMust be alloydb-list-users.
sourcestringtrueThe name of an alloydb-admin source.
descriptionstringtrueDescription of the tool that is passed to the agent.