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
  • The BastionZero Go SDK
  • Getting started
  1. Automation & Integrations

Go SDK

Leverage the Go SDK to administer BastionZero

PreviousGitHub ActionsNextGoogle Cloud Run

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.

The BastionZero Go SDK

The is a Go client library designed to facilitate access to the . It provides a set of functions and types that abstract the underlying API calls, making it easier for engineers to interact with the BastionZero API.

The SDK is organized into services that divide the API into logical chunks, mirroring the structure of the BastionZero API. These services include:

  • Autodiscovery scripts

  • Environments

  • Organization

  • Policies

  • Service accounts

  • Targets

  • Users

Getting started

To install the BastionZero Go SDK, use the go get command below.

go get github.com/bastionzero/bastionzero-sdk-go

Once installed, you can import the SDK into your Go programs.

import "github.com/bastionzero/bastionzero-sdk-go"
Access for Infrastructure
BastionZero Go SDK
BastionZero API