> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/go/go-sdks.md).

# Go SDKs

Use the IONOS CLOUD Go SDKs to build applications, automation, and integrations against IONOS CLOUD APIs. Each SDK is auto-generated from the OpenAPI specification and published as open source on GitHub.

### Core Infrastructure

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>Cloud API Go SDK</strong></mark></td><td>Manage compute, networking, and storage</td><td><a href="https://docs.ionos.com/cloud/go/cloud-api/">Cloud API Go SDK</a></td></tr><tr><td><mark style="color:blue;"><strong>SDK Go Bundle</strong></mark></td><td>All IONOS CLOUD Go SDKs in one module</td><td><a href="/cloud/go/go-bundle/readme.md">Introduction</a></td></tr><tr><td><mark style="color:blue;"><strong>Auth Go SDK</strong></mark></td><td>Manage API tokens and credentials</td><td><a href="/cloud/go/auth/introduction.md">Introduction</a></td></tr></tbody></table>

### Database

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>DBaaS Mongo Go SDK</strong></mark></td><td>Provision and manage MongoDB clusters</td><td><a href="/cloud/go/dbaas-mongodb/introduction.md">Introduction</a></td></tr><tr><td><mark style="color:blue;"><strong>DBaaS Postgres Go SDK</strong></mark></td><td>Provision and manage PostgreSQL clusters</td><td><a href="https://docs.ionos.com/cloud/go/dbaas-postgres/">DBaas Postgres Go SDK</a></td></tr><tr><td><mark style="color:blue;"><strong>In Memory DB Go SDK</strong></mark></td><td>Provision and manage in-memory databases</td><td><a href="https://docs.ionos.com/cloud/go/dbaas-in-memory-db/">DBaaS In Memory DB Go SDK</a></td></tr><tr><td><mark style="color:blue;"><strong>MariaDB SDK Go</strong></mark></td><td>Provision and manage MariaDB clusters</td><td><a href="/cloud/go/dbaas-mariadb/readme.md">Introduction</a></td></tr></tbody></table>

### Networking and Storage

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>API Gateway Go SDK</strong></mark></td><td>Manage API Gateway routes and endpoints</td><td><a href="https://docs.ionos.com/api-gateway-sdk-golang/">API Gateway Go SDK</a></td></tr><tr><td><mark style="color:blue;"><strong>CDN SDK Go</strong></mark></td><td>Manage CDN distributions and origins</td><td><a href="https://docs.ionos.com/cloud/go/cdn/">CDN Go SDK</a></td></tr><tr><td><mark style="color:blue;"><strong>DNS Go SDK</strong></mark></td><td>Manage DNS zones and records</td><td><a href="https://docs.ionos.com/cloud/go/dns/">DNS Go SDK</a></td></tr><tr><td><mark style="color:blue;"><strong>NFS SDK Go</strong></mark></td><td>Manage NFS shares and access controls</td><td><a href="https://docs.ionos.com/cloud/go/nfs/">NFS Go SDK</a></td></tr><tr><td><mark style="color:blue;"><strong>S3 SDK Go</strong></mark></td><td>Manage S3-compatible object storage</td><td><a href="https://docs.ionos.com/cloud/go/ionos-cloud-object-storage/">IONOS CLOUD Object Storage Go SDK</a></td></tr></tbody></table>

### Containers and Compute

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>Container Registry Go SDK</strong></mark></td><td>Manage container registries and images</td><td><a href="https://docs.ionos.com/cloud/go/container-registry/">Container Registry Go SDK</a></td></tr><tr><td><mark style="color:blue;"><strong>VM Autoscaling Go SDK</strong></mark></td><td>Manage autoscaling groups for virtual machines</td><td><a href="https://docs.ionos.com/cloud/go/vm-autoscaling/">VM Autoscaling Go SDK</a></td></tr></tbody></table>

### Observability and Streaming

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>Logging Go SDK</strong></mark></td><td>Manage log pipelines and destinations</td><td><a href="https://docs.ionos.com/cloud/go/logging-service/">Logging Go SDK</a></td></tr><tr><td><mark style="color:blue;"><strong>Kafka Go SDK</strong></mark></td><td>Provision and manage Kafka clusters</td><td><a href="https://docs.ionos.com/cloud/go/kafka/">Kafka Go SDK</a></td></tr></tbody></table>

### Security

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>Certificate Manager Go SDK</strong></mark></td><td>Manage TLS/SSL certificates</td><td><a href="https://docs.ionos.com/cloud/go/certificate-manager/">Certificate Manager Go SDK</a></td></tr></tbody></table>

### Quick Start

Install the Cloud API Go SDK:

```bash
go get github.com/ionos-cloud/sdk-go/v6
```

Set up a client:

```go
import (
    ionoscloud "github.com/ionos-cloud/sdk-go/v6"
    "os"
)

cfg := ionoscloud.NewConfiguration()
cfg.Username = os.Getenv("IONOS_USERNAME")
cfg.Password = os.Getenv("IONOS_PASSWORD")
client := ionoscloud.NewAPIClient(cfg)
```

Use a token instead:

```go
cfg.Token = os.Getenv("IONOS_TOKEN")
```

### Authentication

All Go SDKs use the same credentials. Store them in environment variables and keep them out of your source code.

```bash
export IONOS_USERNAME=your@email.com
export IONOS_PASSWORD=yourpassword

# Use a token for CI/CD:
export IONOS_TOKEN=your_api_token
```

### GitHub Repositories

All Go SDKs are open source on GitHub under [ionos-cloud](https://github.com/ionos-cloud). Product SDKs follow the pattern `sdk-go-{service}`.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ionos.com/cloud/go/go-sdks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
