v.23.9New Feature
Allow Custom Expiration Date for User Credentials
Allow specifying the expiration date and, optionally, the time for user credentials with VALID UNTIL datetime clause. #51261 (Nikolay Degterinsky).Why it matters
This feature allows administrators to set an expiration datetime for user credentials, enhancing security by automatically disabling access after the specified time. It helps in managing temporary access and enforcing credential renewals without manual intervention.How to use it
When creating or altering a user, include theVALID UNTIL datetime clause with the desired expiration date and time. For example:CREATE USER username
IDENTIFIED WITH sha256_password BY 'password'
VALID UNTIL '2024-12-31 23:59:59';