LogoLogo
Main SiteStart Now
  • Home
    • What Is BastionZero?
      • Server Access
      • Database Access
      • Kubernetes Access
      • Web Server Access
    • Product Security
    • Architecture
    • Taxonomy
  • Deployment
    • Getting Started
    • Installing the ZLI
    • Installing the Agent
    • Installing the Desktop App
  • Automation & Integrations
    • CircleCI
    • GitHub Actions
    • Go SDK
    • Google Cloud Run
    • Slack
      • Using the BastionZero app for Slack
    • Terraform
    • Third-Party Clients
  • Admin Guide
    • Authentication
      • SSO Management
      • User Management
      • MFA Management
      • Service Accounts Management
    • Authorization
    • Auditing
    • Target and Connection Management
  • How To Guides
    • Passwordless Database Access
      • Passwordless Access to MySQL and Postgres on GCP Cloud SQL
      • Passwordless Access to AWS RDS PostgreSQL
      • Passwordless Access to AWS RDS MySQL
      • Passwordless Access to Self-Hosted Postgres
    • How to use BastionZero to connect to a Linux Host using the ZLI
    • How to use BastionZero to manage SSH Keys
  • User Guide
    • Installing the ZLI
    • ZLI Cheat Sheet
    • Connecting to Your Targets
    • Troubleshooting Guide
  • ZLI Reference Manual
  • API Specification
  • Getting Help
  • Security Policy
  • Open Source Software Credits
    • Backend Services
    • Bzero Agent
    • Client Daemon
    • Desktop App
    • Go SDK
    • Helm Provider
    • Terraform Provider
    • Web App
    • ZLI
  • Product Changes
  • Service Status
  • GitHub
Powered by GitBook

Copyright © 2024

On this page
  • Kubernetes
  • kubectl
  • k9s
  • Lens
  • Databases
  • DBeaver
  • PSQL
  1. Automation & Integrations

Third-Party Clients

Setup third-party clients on your users' machines

PreviousTerraformNextAuthentication

Last updated 7 months ago

The BastionZero product is maintained for existing BastionZero customers only.

Moving forward, we are natively rebuilding BastionZero’s technology as Cloudflare’s service.

Kubernetes

kubectl

Our Kubernetes agent is fully compatible with kubectl. Ensure that your kubeconfig is set to the correct context, and you are good to go.

k9s

Our Kubernetes agent is fully compatible with k9s!

Next, ensure that your Kube context is correctly configured. See the example below.

You are ready to go! Run the command k9s to get started.

Lens

Our Kubernetes agent is fully compatible with Lens.

To get started, follow these instructions:

  • You are ready to go and start using Lens.

Databases

Once you have your local port forwards established, you can now use any client to connect to your database through BastionZero. For example, we've used DBeaver, Tableplus, DataGrip, and psql, just to name a few.

Your database authentication scheme is private to you. BastionZero secures your connection by ensuring it is authenticated with a user in your organization and authorized via policy. Once completed, an end user can then connect to and authenticate to the database.

DBeaver

A DBeaver configuration will include the server and authentication schemes and may look something like the example below.

PSQL

Echoing the same setup as above using psql, you must specify the username (U), host (h), and port (p).

psql -U postgres -h localhost -p 6101

If you don't already have k9s downloaded, do so by following the k9s GitHub .

If you don't have Lens installed, instructions can be found .

Lens should automatically detect and display your “bctl-agent-context,” but if it doesn’t you can manually add it by following instructions on Lens' documentation page.

here
here
these
Access for Infrastructure
Example of kubectl context to interact with BastionZero
Example of the k9s context needed to interact with BastionZero
Example of using k9s with BastionZero
Example of what lens looks like when it is being used with BastionZero
DBeaver configuration example of connecting to a database secured through BastionZero