I am trying to run an encrypted datapump export using the following options, please let me know how can we hide / mask the ENCRYPTION_PASSWORD which need to be provided in clear text , we don't use TDE or keystore wallet.
dbms_datapump.set_parameter(handle => h1, name =>'ENCRYPTION', value => 'ALL');
dbms_datapump.set_parameter(handle => h1, name =>'ENCRYPTION_PASSWORD', value => 'xxxxxxxxx');
Is it possible to declare a variable like V_PASSWORD and pull the ENCRYPTION_PASSWORD stored in the database?
You could store it in a table and access it via the code below
but ultimately of course, you have really just shifted the key security problem to somewhere else, so you'd want to make sure you have strict controls over that table.