> 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="/spaces/-MUOHE5q_IIVpDsAT0YF-3956399747">/spaces/-MUOHE5q_IIVpDsAT0YF-3956399747</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="/spaces/ORX6Is3JfV7amgQuMlE9/pages/CjWzUIb8yDEgPraWWgoP">/spaces/ORX6Is3JfV7amgQuMlE9/pages/CjWzUIb8yDEgPraWWgoP</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="/spaces/8YMfMfWHce8Rbg0S1v7P/pages/rAQdR6O5y977qYFPbyzJ">/spaces/8YMfMfWHce8Rbg0S1v7P/pages/rAQdR6O5y977qYFPbyzJ</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="/spaces/6lfy2uCRlHsQdjPdPQdB/pages/a86fugZnoyYc3i6zMykI">/spaces/6lfy2uCRlHsQdjPdPQdB/pages/a86fugZnoyYc3i6zMykI</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="/spaces/4htX644tCfonGbxygAeL">/spaces/4htX644tCfonGbxygAeL</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="/spaces/BJoSx1zRVI1fzZVbBa1M">/spaces/BJoSx1zRVI1fzZVbBa1M</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="/spaces/xDilcxWf1Vpwg1hRGwBG/pages/PmB6DlxMB6bXV1QBKk5K">/spaces/xDilcxWf1Vpwg1hRGwBG/pages/PmB6DlxMB6bXV1QBKk5K</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="/spaces/zL0gMOzJOXMyfYUxNXiV">/spaces/zL0gMOzJOXMyfYUxNXiV</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="/spaces/3coPyxSPGKJzaqKjTh9Q">/spaces/3coPyxSPGKJzaqKjTh9Q</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="/spaces/qA6rgVMYSEkXiU2vXy8k">/spaces/qA6rgVMYSEkXiU2vXy8k</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="/spaces/n7XPeMBl6UOWtLGLeTFZ">/spaces/n7XPeMBl6UOWtLGLeTFZ</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="/spaces/dNpDxHdHphOz7cZVKzUU">/spaces/dNpDxHdHphOz7cZVKzUU</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="/spaces/Kwi8HmUWL62sjKUOKVhx">/spaces/Kwi8HmUWL62sjKUOKVhx</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="/spaces/74YxuhUR70ZEc7uwcKpe">/spaces/74YxuhUR70ZEc7uwcKpe</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="/spaces/uBxTmGF6G9IFCSTAo3zr">/spaces/uBxTmGF6G9IFCSTAo3zr</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="/spaces/xUDYMMjK9FGA0Hm3zncZ">/spaces/xUDYMMjK9FGA0Hm3zncZ</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="/spaces/sNb3PXOUWkCyYX54ez4r">/spaces/sNb3PXOUWkCyYX54ez4r</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.
