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 AI Database instance to pick up the latest secret value.
-
Run
DBMS_CLOUD.REFRESH_VAULT_CREDENTIALto immediately refresh a vault secret credential. This procedure gets the latest version of the vault secret from Oracle Cloud Infrastructure Vault.For example:
BEGINDBMS_CLOUD.REFRESH_VAULT_CREDENTIAL( credential_name => 'VAULT_SECRET_CRED'); END; /See REFRESH_VAULT_CREDENTIAL Procedure for more information.
Parent topic: Use Vault Secret Credentials