Passwords are masked in audit records.
sp_audit "cmdtext", "alan", "db1", "on"
And “alan” issues this command:
create encryption key key1 with passwd "bigsecret"
SAP ASE writes the following SQL text to the extrainfo column of the audit table:
"create encryption key key1 with passwd "xxxxxx"