Refresh Vault Secret Credentials
To refresh vault secret credentials, you have two choices:
-
Wait for automatic refresh: Every 12 hours the secret (password) is refreshed from the content in the vault. If you change the secret value in the vault, it can take up to 12 hours for the Autonomous Database instance to pick up the latest secret value.
-
Run
DBMS_CLOUD.REFRESH_VAULT_CREDENTIAL
to immediately refresh a vault secret credential. This procedure gets the latest version of the vault secret from Oracle Cloud Infrastructure Vault.For example:
BEGIN
DBMS_CLOUD.REFRESH_VAULT_CREDENTIAL
( credential_name => 'VAULT_SECRET_CRED'); END; /See REFRESH_VAULT_CREDENTIAL Procedure for more information.
Parent topic: Use Vault Secret Credentials