---
title: "Connecting to clusters"
description: "Learn to create, configure, test, and manage Aerospike Voyager cluster connections, including TLS and authentication."
---

# Connecting to clusters

> For the complete documentation index see: [llms.txt](https://aerospike.com/docs/llms.txt)
> 
> All documentation pages available in markdown.

Aerospike Voyager connects to one or more Aerospike clusters and saves each connection profile locally. This guide covers every option in the connection dialog.

A connection in Voyager has two phases: first you create and save a connection profile (cluster address, credentials, TLS), then you connect to open a live session. After saving, you can test connectivity, disconnect, reconnect, edit, or remove the profile.

## Creating a connection

1.  On the Home page, under **Get a cluster connected**, click **Connect cluster**. When one or more clusters are saved, click **Add connection** at the bottom of the cluster list in the **Data browser**.
2.  Enter a **Display name** (optional label, such as “Dev Cluster” or “Staging”).
3.  Enter the **Cluster address** as `host:port`. Provide any one node in the cluster; Voyager discovers the rest automatically. To seed with multiple addresses, use a comma-separated list (`host1:port1,host2:port2`).
4.  Click **Test** to verify connectivity.
5.  Click **Save** to keep the profile, or **Connect** to save and open a live session.

 ![Connect to an Aerospike cluster dialog with Display name Local Aerospike and Cluster address localhost:3000, showing the collapsed Authentication and Advanced sections and the Test, Save, and Connect buttons](https://aerospike.com/docs/_astro/connection_dialog.BwIJ27yj_Z1ocvfH.png)

## Authentication

Open the **Authentication** section of the connection dialog to choose how Voyager authenticates to the cluster. Authentication is optional: leave the defaults in place for an unsecured cluster.

 ![Connection dialog Authentication section expanded, with the Auth mode dropdown open showing Internal, External (LDAP), and PKI (client certificate) above the Username, Password, and TLS fields](https://aerospike.com/docs/_astro/connection_dialog_auth_mode.BHr1gqSu_Z1A3sBP.png)

### Authentication modes

Select an **Auth mode** to match how your cluster validates clients. Voyager supports the same modes as the Aerospike clients, mirroring the [access-control](https://aerospike.com/docs/database/learn/security/access-control) configuration on the server:

| Auth mode | How it authenticates | TLS | Credentials |
| --- | --- | --- | --- |
| **Internal** | Username and password validated by the Aerospike database. This is the default. | Optional | Username and password (omit both for an unsecured cluster) |
| **External (LDAP)** | Username and password validated by an external provider such as LDAP. The password travels to the cluster, so TLS is mandatory. | Required | Username and password |
| **PKI (client certificate)** | The client certificate is the identity. No username or password is sent. | Required | Client certificate and key (set under TLS) |

When you select **External (LDAP)** or **PKI**, Voyager enables TLS automatically and marks it required, because neither mode can connect over an unencrypted connection. **External (LDAP)** requires both a username and a password. For **PKI**, the **Username** and **Password** fields are hidden, since the certificate establishes identity. Provide the client certificate and key in the [TLS](#tls-connections) fields.

::: caution
With **External (LDAP)**, the password is protected only when the server certificate is verified. Enabling **Skip TLS Validation** keeps the link encrypted but bypasses certificate validation, which exposes the password to interception. Do not use **Skip TLS Validation** with External authentication except in the case of isolated testing.
:::
::: note
Voyager does not offer an unencrypted external mode. The Aerospike client cannot perform external authentication without TLS, so only the modes that can actually connect are exposed.
:::

### Credential storage

Voyager encrypts all stored credentials (passwords, TLS keys) at rest using AES-256-GCM. The root encryption key is stored in your operating system’s keychain:

-   **macOS**: Keychain
-   **Windows**: Credential Manager
-   **Linux**: Secret Service (using libsecret)

## TLS connections

To connect to a [TLS](https://aerospike.com/docs/database/learn/security/tls)\-secured cluster:

1.  In the **Authentication** section of the connection dialog, check **TLS**. For the **External (LDAP)** and **PKI** auth modes, TLS is already enabled and cannot be turned off.
2.  Configure the following fields as needed:

| Field | Description |
| --- | --- |
| TLS name | Server name used for TLS verification. Must match the name in the server’s certificate. |
| CA certificate | The certificate authority file used to verify the server. Accepts `.pem`, `.crt`, or `.cer` files. |
| Client certificate | Your client certificate for mutual TLS (mTLS). Accepts `.pem`, `.crt`, or `.cer` files. |
| Client key | The private key matching your client certificate. Accepts `.pem` or `.key` files. |
| Skip TLS Validation | Bypasses validation of the server’s certificate and hostname. Data remains encrypted, but the client does not verify the server’s identity. Useful for testing with self-signed certificates, but leaves the connection vulnerable to man-in-the-middle attacks. Not recommended for production. |

 ![Connection dialog Authentication section expanded with the TLS checkbox checked, showing the TLS name field, the CA, Cert, and key upload fields, and the Skip TLS Validation checkbox with its info tooltip icon](https://aerospike.com/docs/_astro/connection_dialog_tls_advanced.C4nyNiBG_Z1M1AW3.png)

### Example: mutual TLS configuration

A typical mTLS setup for a production cluster uses all three certificate fields:

1.  Check **TLS**.
2.  Set **TLS name** to the common name (CN) or subject alternative name (SAN) in your server certificate (for example, `aerospike.example.com`).
3.  Upload your **CA certificate** (the root or intermediate CA that signed the server certificate).
4.  Upload your **Client certificate** and **Client key** (issued by a CA the server trusts).
5.  Leave **Skip TLS Validation** unchecked.
6.  Click **Test** to verify the TLS handshake succeeds.

::: caution
The **Skip TLS Validation** option bypasses certificate verification entirely. Do not use it in production. It is intended for development environments with self-signed certificates.
:::

## Services alternate

The connection dialog reminds you of this setting: clusters on AWS, GCP, or Azure, or behind a VPN or bastion host, usually need it. Its **Open docs** link opens this guide.

In the **Advanced** section, check **Use services alternate** when your [cluster nodes](https://aerospike.com/docs/database/learn/architecture/clustering/) advertise different addresses for internal and external access. This is common in:

-   Multi-NIC environments where cluster-internal traffic uses a private interface
-   NAT or port-forwarding setups (Docker with mapped ports, cloud environments with public/private addresses)

When enabled, Voyager uses the alternate address list advertised by each node instead of the default access address.

## Testing a connection

Click **Test** at any time before saving. Voyager attempts to connect with the current settings and reports success or failure, letting you verify hostnames, credentials, and TLS configuration before committing.

## Connection and login timeouts

The **Advanced** section has two timeout fields:

-   **Timeout (secs)** is the overall connection timeout. The default is 30 seconds (range 1 to 9999). Increase this value if your cluster is behind a high-latency link.
-   **Login timeout (secs)** is the time allowed for the authentication handshake. Valid range is 0 to 9999, and the default is 0, which uses the client default. Increase this value for slow external/LDAP logins.

## Managing connections

Right-click a cluster in the sidebar, or click the actions menu (⋮), to access connection actions. The available actions depend on the connection state:

**When connected:**

-   **Disconnect**: Close the active connection while keeping the profile saved.
-   **Remove cluster**: Permanently delete the connection profile.

**When disconnected:**

-   **Edit connection**: Modify connection settings (host, port, credentials, TLS).
-   **Connect**: Re-establish the connection.
-   **Remove cluster**: Permanently delete the connection profile.

## Connection status indicators

Each connection displays a status indicator (the colored dot next to the cluster name in the sidebar):

| Status | Meaning |
| --- | --- |
| **Disconnected** | Connection profile exists but is not active. |
| **Connecting** | Voyager is attempting to establish a connection. |
| **Connected** | Connection is active and healthy. |
| **Error** | Connection attempt failed or an active connection was lost. |

::: note
If a cluster is stopped or removed outside of Voyager (for example, with `docker kill` or by terminating the nodes), the status indicator may continue to show **Connected** until the next operation fails. Refresh the connection or run an action (such as listing namespaces) to confirm cluster liveness.
:::

## Multiple connections

Each saved profile is independent. You can open and switch between multiple active connections; each maintains its own session.

## Aerospike Cloud

::: note
Aerospike Cloud is not yet supported in the Preview release. To manage cloud clusters, use the Aerospike Cloud Console.
:::

## Next steps

-   [Quickstart: explore data in 10 minutes](https://aerospike.com/docs/database/tools/voyager/quickstart)
-   [Browsing data](https://aerospike.com/docs/database/tools/voyager/guides/browsing-data)
-   [Loading sample data](https://aerospike.com/docs/database/tools/voyager/guides/sample-data)
-   [Troubleshooting connection issues](https://aerospike.com/docs/database/tools/voyager/troubleshooting)