Options for Keyname
Currently, the sample code uses a hard coded key name. Other options are:
Keyname as an environment variable.
Keyname as a Databricks secret.
Keyname passed in an attribute to the function.
Example with a database view for CADP:
create view employee as select first_name, last_name, thales_CADP_aws_decrypt_char('testfaas', email) as email from emp_basic
Example with a database view for CRDP:
create view employee as select first_name, last_name, thales_CRDP_aws_decrypt_char('testfaas', email) as email from emp_basic