doctl-databases-user
manage database cluster users
TLDR
SYNOPSIS
doctl databases user command [options]
DESCRIPTION
doctl databases user manages users for DigitalOcean managed database clusters. Users represent authentication credentials that applications and administrators use to connect to databases.Each user has associated credentials (username and password) and potentially different privileges depending on the database engine. User management includes creating users for different applications or services, rotating credentials via password reset, and removing users when access is no longer needed.Proper user management follows security best practices: creating dedicated users for each application, regularly rotating credentials, and removing unused accounts to minimize security exposure.
PARAMETERS
--mysql-auth-plugin PLUGIN
Set MySQL authorization plugin (cachingsha2password or mysqlnativepassword). Used with create.--acl RULES
Comma-separated Kafka ACL rules in topic:permission format. Used with create.--opensearch-acl RULES
Comma-separated OpenSearch ACL rules in index:permission format. Used with create.--format COLUMNS
Columns for output (e.g., Name,Role).--no-header
Omit the header row from output.--output FORMAT
Output format: text or json (default: text).
SUBCOMMANDS
list
Retrieve a list of database users.create
Create a database user. New users are given a role of normal and an automatically-generated password.get
Retrieve details about a database user.delete
Delete a database user.reset
Reset the auth password or the MySQL authorization plugin for a given user and return new credentials.
