Capabilities
| Resource | Sync | Provision |
|---|---|---|
| Accounts | ||
| Roles | ||
| Nodes | ||
| Apps | ||
| Databases |
Configure the Teleport connector
This connector only supports a self-hosted setup. Follow these instructions to use the Teleport connector, hosted and run in your own environment. See the connector’s README file for information on alternative setup methods. This guide walks you through setting up the Baton Teleport connector in Kubernetes to run continuously and sync with ConductorOne. The connector uses certificate-based authentication viatbot and connects to ConductorOne using client credentials.
Prerequisites
Before you begin, make sure you have:- A Kubernetes cluster with
kubectlaccess - A Teleport cluster with admin access
- The
tctlCLI tool configured for your Teleport cluster
Step 1: ConductorOne setup
1
In ConductorOne, navigate to Connectors > Add connector.
2
Search for Baton and click Add.
3
Choose how to set up the new Teleport connector:
- Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with ConductorOne)
- Add the connector to a managed app (select from the list of existing managed apps)
- Create a new managed app
4
Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of ConductorOne users. Setting multiple owners is allowed.If you choose someone else, ConductorOne will notify the new connector owner by email that their help is needed to complete the setup process.
5
Click Next.
6
In the Settings area of the page, click Edit.
7
Click Rotate to generate a new Client ID and Secret. Carefully copy and save these credentials.
Step 2: Create Teleport bot and token
First, create the bot resource in Teleport:Step 3: Create shared storage
Create persistent storage for sharing certificates betweentbot and baton-teleport:
Step 4: Create RBAC for tbot
Create service account and RBAC permissions:Step 5: Deploy tbot
Create the tbot configuration:
tbot deployment:
tbot:
Step 6: Deploy Baton Teleport connector
Step 7: Deploy and monitor the connector
Apply the baton-teleport deployment:1
Install the
baton-teleport binary (if not available via releases)2
Connect to ConductorOne using your client credentials
3
Poll for tasks from ConductorOne periodically
4
Execute sync tasks when requested by ConductorOne
5
Handle provisioning requests when access needs to be granted/revoked
6
Send results back to ConductorOne instead of writing to local files
Manual binary installation
If the automatic download fails, you can manually install the binary:Verification steps
1
Check tbot is running:
2
Verify certificates are generated:
3
Check baton-teleport is running:
4
Verify connector connectivity:
The logs should show:
- Successful connection to ConductorOne
- Periodic polling for tasks
- Any sync or provisioning activities
Troubleshooting
- tbot CrashLoopBackOff: Check that the bot has roles assigned and JWKS is correct
- Certificate access issues: Verify PVC is mounted and tbot is writing to
/opt/machine-id - Connection issues: Ensure proxy address is correct and network policies allow outbound connections
Customization
- Adjust bot roles based on what Teleport resources you need to access
- Modify resource limits based on your cluster capacity
- Update Teleport cluster and proxy addresses throughout the configuration
- Consider using secrets for sensitive configuration instead of environment variables