action digitalocean_databases_list_users { label: "List all Database Users" description: "To list all of the users for your database cluster, send a GET request to\n`/v2/databases/$DATABASE_ID/users`.\n\nNote: User management is not supported for Redis clusters.\n\nThe result will be a JSON object with a `users` key. This will be set to an array\nof database user objects, each of which will contain the standard database user attributes.\n\nFor MySQL clusters, additional options will be contained in the mysql_settings object.\n" provider: digitalocean method: GET path: "/v2/databases/{database_cluster_uuid}/users" encoding: json input: { type: "object" properties: { database_cluster_uuid: { type: "string" format: "uuid" } } required: ["database_cluster_uuid"] additionalProperties: false } output: { properties: { users: { type: "array" items: { type: "object" required: ["name"] properties: { mysql_settings: { type: "object" required: ["auth_plugin"] properties: { auth_plugin: { type: "string" description: "A string specifying the authentication method to be used for connections\nto the MySQL user account. The valid values are `mysql_native_password`\nor `caching_sha2_password`. If excluded when creating a new user, the\ndefault for the version of MySQL in use will be used. As of MySQL 8.0, the\ndefault is `caching_sha2_password`.\n" enum: ["mysql_native_password", "caching_sha2_password"] } } } name: { type: "string" description: "The name of a database user." } password: { type: "string" description: "A randomly generated password for the database user." } role: { type: "string" description: "A string representing the database user's role. The value will be either\n\"primary\" or \"normal\".\n" enum: ["primary", "normal"] } } } } } } }