LinuxCommandLibrary

doctl-databases-user

manage database cluster users

TLDR

List database users

$ doctl databases user list [cluster_id]
copy
Create a user
$ doctl databases user create [cluster_id] [username]
copy
Get user info
$ doctl databases user get [cluster_id] [username]
copy
Reset user password
$ doctl databases user reset [cluster_id] [username]
copy
Delete a user
$ doctl databases user delete [cluster_id] [username]
copy

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.

SUBCOMMANDS

list

List database users.
create
Create a database user.
get
Get user details.
delete
Delete a user.
reset
Reset user authentication.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community