Getting Started
Overview
This guide walks you through configuring the Britive Access Broker to manage just-in-time privileged access to Cisco IOS XE devices — creating a local user account with a configurable privilege level at checkout and deleting it at checkin.
What you’ll accomplish:
- Deploy and configure the Britive Access Broker with SSH access to your Cisco IOS XE device
- Configure checkout and checkin routines from the access-broker-examples repository
- Register the Cisco device as a Resource Manager resource in Britive
- Create a Resource Manager access profile
- Check out privileged 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 Cisco device (SSH port 22)
- A Cisco IOS XE local admin account with privileges to create and delete local users
sshavailable on the broker host; target device must supportip sshand local authentication
Never hardcode credentials. Use environment variables, your secret manager, or the Britive Secrets Store.
How It Works
The Access Broker SSHes into the Cisco device and runs IOS commands to create or delete local user accounts. At checkout, Britive creates a local user with the configured privilege level (1–15). At checkin (or on expiry), the user is deleted with no username — no standing network device accounts remain.
User → Britive Console → Access Broker → SSH → IOS: username create/delete (privilege 1–15)Onboarding the Application
Configure the broker for Cisco IOS XE access management. This is a one-time setup performed by an administrator.
Reference scripts are available in the britive/access-broker-examples repository under CiscoIOSXE/permissions/.
Using the Britive Console
Deploy the Access Broker
Follow the Britive Access Broker deployment guide to install and register a broker with your Britive tenant.
Configure the broker scripts
git clone https://github.com/britive/access-broker-examples.git
# Copy CiscoIOSXE/permissions/ scripts to your broker's scripts directoryConfigure the admin account on the Cisco device
Enable SSH and create a local admin account for the broker:
ip ssh version 2
username britive_admin privilege 15 secret StrongPassword!Store the credentials in the Britive Secrets Store.
Register the Cisco device in Resource Manager
Navigate to Resource Manager → Resources → Add Resource. Define the resource type as CiscoIOSXE and enter the device hostname or IP.
Verify broker connectivity
Confirm the broker can SSH into the device: ssh britive_admin@<device-ip>
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., Cisco-ReadOnly-Access) |
| Expiration | Set a max session duration (e.g., 1h) |
Associate resources
Under Associations, select the Cisco IOS XE device resource.
Add a permission
Under Permissions, select the checkout/checkin routine with the appropriate privilege 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 Cisco credentials.
Connect to the device
ssh <temp-username>@router.example.comConfirm access level
show privilegeExpected output: Current privilege level is 1 (or the configured level).
Check in
Return to My Access → click Check In. Attempting to SSH with the same credentials should fail with Authentication failed.
Troubleshoot
| Symptom | Likely Cause | Fix |
|---|---|---|
| Checkout fails | Broker cannot SSH to the device | Check ACLs/firewall rules allowing the broker IP on port 22 |
| User creation fails | Admin account lacks privilege 15 | Ensure britive_admin has privilege 15 on the device |
| User not deleted after checkin | SSH command timeout | Check broker logs; manually remove with no username <temp-user> |