---
title: "Configure calicoctl"
description: "Configure calicoctl to reach the datastore backing a Calico Open Source cluster through config files, environment variables, or kubeconfig credentials."
product: "Calico Open Source"
version: "3.32 (latest)"
section: "Operations"
canonical_url: "https://docs.tigera.io/calico/latest/operations/calicoctl/configure/"
---

# Configure calicoctl

## [📄️Configure calicoctl](https://docs.tigera.io/calico/latest/operations/calicoctl/configure/overview.md)

[Overview reference for configuring calicoctl datastore access in Calico Open Source, comparing config-file, environment-variable, and kubeconfig credential methods.](https://docs.tigera.io/calico/latest/operations/calicoctl/configure/overview.md)

## [📄️Configure calicoctl to connect to an etcd datastore](https://docs.tigera.io/calico/latest/operations/calicoctl/configure/etcd.md)

[Sample calicoctl configuration files for connecting to an etcdv3 datastore in a Calico Open Source cluster, with TLS, endpoints, and authentication settings.](https://docs.tigera.io/calico/latest/operations/calicoctl/configure/etcd.md)

## [📄️Configure calicoctl to connect to the Kubernetes API datastore](https://docs.tigera.io/calico/latest/operations/calicoctl/configure/kdd.md)

[Sample calicoctl configuration files for connecting to the Kubernetes API datastore in a Calico Open Source cluster using kubeconfig credentials.](https://docs.tigera.io/calico/latest/operations/calicoctl/configure/kdd.md)
