Manually Register a Target Database
Oracle recommends using the Oracle Data Safe registration wizards for registering databases with Oracle Data Safe; however, advanced users can also use the manual registration option on the Target databases page. Be sure to complete the pre-registration tasks beforehand and the post-registration tasks afterward.
Manual registration allows you to select Oracle Data Safe private endpoints on VCNs peered with your database's VCN; whereas, you cannot do this using a registration wizard.
You can also choose to register an Autonomous AI Database directly
from the database's details page in Oracle Cloud Infrastructure. If your
Autonomous AI Database has a public IP address, you simply select the
Register link and you are done. If you are
registering an Autonomous AI Database with a private IP address, you need to
have an Oracle Data Safe private endpoint created beforehand. When registering an Autonomous AI
Database on Dedicated Exadata Infrastructure, you need to provide the
ADMIN database user credentials.
Preregistration Tasks for Manual Target Database Registration
Before manually registering a database as an Oracle Data Safe target database, be sure to complete the following preregistration tasks.
- Obtain permissions in Oracle Cloud Infrastructure Identity and Access
Management (IAM) for registering your target database. See the following:
- Permissions to Register an Autonomous AI Database with Oracle Data Safe
- Permissions to Register an Oracle Cloud Database with Oracle Data Safe
- Permissions to Register an On-Premises Oracle Database with Oracle Data Safe
- Permissions to Register an Oracle Database on a Compute Instance with Oracle Data Safe
- Permissions to Register an Oracle Cloud@Customer Database with Oracle Data Safe
- Permissions to Register an Amazon RDS for Oracle Database with Oracle Data Safe
- If needed, create an Oracle Data Safe private endpoint or an Oracle Data Safe on-premises connector to connect Oracle Data Safe to your target database. See the following:
- If you are using an Oracle Data Safe private endpoint to connect your target database to Oracle Data Safe, create the necessary security rules. If your database resides in Oracle Cloud Infrastructure (OCI), create an ingress and egress rule. Otherwise, only create an egress rule in OCI and configure your own database network to allow incoming traffic from the Oracle Data Safe private endpoint. See Add Security Rules.
- (Non-Autonomous AI Databases only) Create an Oracle Data Safe service account on your database. See Create an Oracle Data Safe Service Account on Your Database.
- Grant and revoke roles from the Oracle Data Safe service account on your target database to allow or disallow Oracle Data Safe features on the database. See Grant Roles to the Oracle Data Safe Service Account on Your Target Database.
- (Non-Autonomous AI Databases only) If you plan to configure a TLS connection
to your target database, then you need to do the following:
- If you are connecting to your target database via an Oracle Data Safe private endpoint, create a wallet or certificate. See Create a Wallet or Certificates for a TLS Connection.
- If you are connecting to your target database via an Oracle Data Safe on-premises connector, configure the TLS connection between your on-premises database and the on-premises connector on your host machine. See Configure a TLS Connection Between the On-Premises Connector on Your Host Machine and Your Database.
- (Autonomous AI Database on Dedicated Exadata Infrastructure) If Database Vault is
enabled on the database, connect to your database as a user with the
DV_ACCTMGRrole and temporarily grant the crole to theADMINuser. - (Autonomous AI Database on Exadata Cloud@Customer) Configure a TLS connection between the on-premises connector on your host machine and your Autonomous AI Database. See Configure a TLS Connection Between the On-Premises Connector on Your Host Machine and an Autonomous AI Database on Exadata Cloud@Customer Database.
- (Amazon RDS at Oracle) Add the security certificate for the Amazon RDS specific region. See Add the Security Certificate for the Amazon RDS Specific Region.
Manually Register an Autonomous AI Database
Post Registration Tasks for Manual Target Database Registration
After you complete the manual target database registration, perform the following post registration tasks as needed:
- (Optional) Grant users access to Oracle Data Safe features with the target database by configuring IAM policies. See Create IAM Policies for Oracle Data Safe Users.
- (Optional) Change which features are allowed for the Oracle Data Safe service account on your target database by granting/revoking roles from the account. See Grant Roles to the Oracle Data Safe Service Account on Your Target Database.
- For an Autonomous AI Database on Dedicated Exadata Infrastructure only:
If Database Vault is enabled on your target database, connect to your target
database as a user with the
DV_ACCTMGRrole and revoke theDV_ACCTMGRrole from theADMINuser. - For a target database outside of Oracle Cloud Infrastructure (OCI), make sure to allow ingress traffic to your target database from the Oracle Data Safe private endpoint or Oracle Data Safe on-premises connector.
- (If you are using an on-premises connector) Oracle recommendation: Ensure
that only the on-premises client can connect to your on-premises Oracle database by
specifying in
sqlnet.oraparameter calledINVITED_NODESthe clients that are allowed to access your database.