Getting Started
Overview
This guide walks you through configuring the Britive Access Broker to manage just-in-time access to Oracle Database — creating a temporary schema user at checkout and dropping it at checkin.
What you’ll accomplish:
- Deploy and configure the Britive Access Broker with connectivity to your Oracle instance
- Configure checkout and checkin routines from the access-broker-examples repository
- Register Oracle Database as a Resource Manager resource in Britive
- Create a Resource Manager access profile
- Check out database access and verify end-to-end
Prerequisites
Before you begin, make sure you have:
- A Britive tenant with administrator access
- A running Britive Access Broker with network access to the Oracle listener (port 1521)
- An Oracle DBA account with
CREATE USER,DROP USER, andGRANTprivileges - Oracle Instant Client and
sqlplusavailable on the broker host
Never hardcode credentials. Use environment variables, your secret manager, or the Britive Secrets Store.
How It Works
The Access Broker runs SQL*Plus commands to create and drop temporary Oracle users. At checkout, Britive creates an Oracle schema user, grants the target roles, and returns credentials. At checkin (or on expiry), the user is dropped — no standing database accounts remain.
User → Britive Console → Access Broker → sqlplus → CREATE USER / GRANT → DROP USEROnboarding the Application
Configure the broker for Oracle Database access management. This is a one-time setup performed by an administrator.
Reference scripts are available in the britive/access-broker-examples repository under Oracle/permissions/.
Using the Britive Console
Deploy the Access Broker
Follow the Britive Access Broker deployment guide to install and register a broker. Install Oracle Instant Client on the broker host.
Configure the broker scripts
git clone https://github.com/britive/access-broker-examples.git
# Copy Oracle/permissions/ scripts to your broker's scripts directoryCreate a DBA account for the broker
CREATE USER britive_admin IDENTIFIED BY "StrongPassword!";
GRANT DBA TO britive_admin;Store the credentials in the Britive Secrets Store.
Register Oracle Database in Resource Manager
Navigate to Resource Manager → Resources → Add Resource. Enter the Oracle host, port, service name, and admin credentials.
Create Your First Access Profile
Using the Britive Console
Open Resource Manager
Navigate to Resource Manager → Profiles → Add Profile.
Configure the profile
| Field | Value |
|---|---|
| Name | A descriptive name (e.g., Oracle-ReadOnly) |
| Expiration | Set a max session duration (e.g., 2h) |
Associate resources
Under Associations, select the Oracle Database resource.
Add a permission
Under Permissions, select the checkout/checkin routine for the target access level.
Add a policy
Under Policies, assign members and configure conditions.
Save and activate
Click Save.
Verify
Check out the profile
Navigate to My Access → find your profile → click Check Out. Britive returns temporary Oracle credentials.
Connect to Oracle
sqlplus <temp-user>/<temp-password>@oracle.example.com:1521/ORCLConfirm access
SELECT user FROM dual;Check in
Return to My Access → click Check In. Connecting with the same credentials should fail with ORA-01017: invalid username/password.
Troubleshoot
| Symptom | Likely Cause | Fix |
|---|---|---|
| Checkout fails | Broker cannot reach Oracle listener | Check network connectivity on port 1521 and Oracle Net firewall rules |
ORA-01031: insufficient privileges | Admin account lacks required grants | Re-grant DBA or specific system privileges to britive_admin |
| User not dropped after checkin | Active sessions holding the schema | Kill active sessions (ALTER SYSTEM KILL SESSION) before checkin |