resources

User Provisioning and Offboarding in Oracle Database 19c

For user provisioning in Oracle Database 19c, create a named local account in the intended pluggable database (PDB), grant only the roles approved for that person, and verify access in a fresh session. When the person leaves, block new logins, check for existing sessions, and reconcile the database grants with the offboarding record. A successful ticket does not prove that access changed. This task is one step of a wider review; the Oracle Database 19c security checklist covers the remaining controls.

Before you change access

This checklist covers named human users in a self-managed Oracle Database 19c PDB. It does not configure directory integration or identity connectors and does not apply to shared application accounts or common users in the CDB root. Use a delegated administrator whose account has the required user-management privileges in the target PDB and authority to grant or revoke the intended roles. Arrange read access to the applicable dictionary views and session information with the DBA. The workflow is untested here; rehearse it in a nonproduction PDB.

Record the identity, PDB service, approved role, approver, and review or expiration date in the access request. Before modifying an existing account, save a restricted copy of its current account state and grants, without storing any password. Check whether the schema owns objects or supports automation. Separate those dependencies from the person’s sign-in before changing it.

1. Grant access for a new user

Connect to the target PDB service and confirm the current container before creating anything. Follow Oracle’s 19c guidance for managing database users to create a local account. The account needs the CREATE SESSION privilege to log in, directly or through an enabled role. Use the approved credential-delivery process and avoid granting broad object privileges just to make the first login succeed.

Test as the new user in a fresh connection to the PDB service. Confirm that the approved task succeeds and that an adjacent, unapproved task is denied. If the login fails, check the service, account state, and effective session privilege before adding a grant.

2. Reconcile access when the user changes jobs

Compare the old and new approval records before adding the new role. Remove obsolete access through the original grant path where possible. Oracle’s 19c guide to privilege and role authorization explains direct grants, role inheritance, and the effects of revocation. Check those paths if access survives removal of one role. Verify the revised permissions in a fresh session and record any temporary overlap with an owner and end date. Route exceptional admin access through your privileged access process for Oracle Database.

3. Offboard without deleting the schema

Confirm that you have the right person, account, and PDB. Follow the Oracle user-management guide to lock the account, and revoke grants that the approved offboarding plan says to remove. A lock is a control on new connections; check for active sessions separately and have the DBA handle them according to the incident or offboarding procedure. If an identity connector manages the account, reconcile its desired state too so a later run does not restore revoked access.

Verify the recorded account state, check open sessions, and compare remaining grants to the approved retention policy. If the wrong person was affected, use the saved account and grant inventory to restore only the access approved by the owner, then verify it in a fresh session. Do not delete the user as part of this checklist.

If your administrators sign in through a FIDO2-enabled identity provider or PAM portal, a hardware key is one option at that layer. Track issued keys in the onboarding inventory and remove their registrations as part of offboarding, alongside the separate Oracle Database account changes.

Photo of Yubico YubiKey 5 NFC

Yubico YubiKey 5 NFC
USB-A · NFC · FIDO2/WebAuthn
View on Amazon (paid link)

What to retain for audit

Keep one record per change that ties the approval and execution timestamps to the exact account and PDB. Include the before-and-after access states and the verification result. A September/October 2012 Oracle Magazine case study on Kaiser Permanente (scan p. 12) describes regional and application-specific provisioning systems that required separate sets of audit documentation. The operational lesson is to standardize the evidence even if provisioning still happens in several tools. For broader context, see Oracle Identity Management benefits and challenges.