Use Vault Secret Credential with
AWS Secrets Manager
Describes
using vault secret credentials, where the credential secret (password) is stored in
AWS Secrets Manager.
You can use vault secret credentials to access cloud resources, to access other
databases with database links, or use anywhere that username/password type
credentials are required.
Create Vault Secret Credential with AWS Secrets Manager 🔗
Describes
the steps to use an AWS Secrets Manager secret with
credentials.
This allows you to store a secret in AWS Secrets Manager and use the secret with the credentials you create to access cloud
resources or to access other databases.
To create vault secret credentials where the secret is stored in AWS Secrets Manager:
Create a secret in AWS Secrets Manager and create
an inline policy to allow your Autonomous Database to access secrets in AWS Secrets Manager.
SELECT count(*) FROM DBMS_CLOUD.LIST_OBJECTS(
'AWS_SECRET_CRED',
'https://s3-us-west-2.amazonaws.com/adb/' );
Note
Every 12 hours the secret
(password) is refreshed from the content in the AWS Secrets Manager. If you change the secret value in the AWS Secrets Manager, 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 AWS Secrets Manager. See REFRESH_VAULT_CREDENTIAL Procedure for more information.