Skip to content

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, and GRANT privileges
  • Oracle Instant Client and sqlplus available 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 USER

Onboarding 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 directory

Create 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 ManagerResourcesAdd 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 ManagerProfilesAdd Profile.

Configure the profile

FieldValue
NameA descriptive name (e.g., Oracle-ReadOnly)
ExpirationSet 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/ORCL

Confirm 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

SymptomLikely CauseFix
Checkout failsBroker cannot reach Oracle listenerCheck network connectivity on port 1521 and Oracle Net firewall rules
ORA-01031: insufficient privilegesAdmin account lacks required grantsRe-grant DBA or specific system privileges to britive_admin
User not dropped after checkinActive sessions holding the schemaKill active sessions (ALTER SYSTEM KILL SESSION) before checkin

Next Steps

Last updated on