REDACTED_POSSIBLE_SECRET_ACCESS_KEY as part of column value result form aes_encrypt

DApt
Databricks Partner

Hi, i've encountered an error using base64/aes_encrypt, as result the string saved contains 'REDACTED_POSSIBLE_SECRET_ACCESS_KEY' at the end destroying the original data, rendering it useless undecryptable, is there a way to avoid this replacement in the saved data?

this behaviour occours in special conditions it seems, problem is the redaction is not only in presentation layer but the data beneath... whenever this query is writen, the data renders the REDACTED string

Captura de pantalla 2023-12-11 152523.png

i guess the problem is related to:
https://docs.databricks.com/en/security/keys/redaction.html#aws-secret-access-key-redaction

but it should not destroy the data. (string replaced contains 40 characters, tried appending a letter at the end to retrieve the correct encrypted value)

DApt_0-1702326511602.png

 

DApt_3-1702327037748.png

 

once the query is saved as table it can not be decrypted any more 

DApt_1-1702326665014.png