For AI agents: the complete documentation index is at llms.txt. Every page is also available as markdown by appending .md to its URL, or by sending an Accept: text/markdown request header.

ALTER SERVICE ACCOUNT WITH PASSWORD reference

Enterprise:

RBAC provides fine-grained database permissions management.

ALTER SERVICE ACCOUNT ... WITH PASSWORD sets a service account's password.


Syntax​

ALTER SERVICE ACCOUNT serviceAccountName WITH PASSWORD password;

Description​

Setting a password replaces any existing one. Empty passwords are rejected, so WITH PASSWORD '' cannot be used to clear one; use WITH NO PASSWORD instead.

Examples​

ALTER SERVICE ACCOUNT client_app WITH PASSWORD '1m@re@lh@cker';

Verify with:

SHOW SERVICE ACCOUNT client_app;
auth_typeenabled
Passwordtrue
JWK Tokenfalse
REST Tokenfalse

See also​