Remediation
Password Rotationβ
Using SQLβ
The executing role must hold the OWNERSHIP privilege on the target user account to modify its properties via SQL.
-
Reset the User Password:
ALTER USER {{username}} SET PASSWORD = '{{new_password}}'; -
Enforce Password Change on Next Login (Recommended):
ALTER USER {{username}} SET MUST_CHANGE_PASSWORD = TRUE;