Command-Line Interface for External Secrets Operator secret injection and management.
esi-cli
) is a versatile command-line tool that empowers you to interact with secrets managed by the External Secrets Operator (ESO). It’s primarily designed to fetch these secrets and make them readily available to your applications, either as environment variables or as files on the filesystem.
esi-cli
is a cornerstone for integrating applications with ESO, commonly run within Kubernetes init containers to prepare the secret environment before an application starts, or as a sidecar container to provide and refresh secrets while an application runs.
It Allows you to effectively run applications without creating a Kubernetes Secret beforehand, while still leveraging all of ESO’s powerful features such as combination and templating.
It features distinct modes of operation, a comprehensive set of command-line flags for granular control, and robust support for ESI Federation, allowing secret access from centralized ESI servers.
init
mode for pre-flight secret injection and daemon
mode for continuous secret availability and refreshing.ExternalSecret
resources in a Kubernetes cluster or from a remote ESI Federation server.esi-cli
through the following sections:
init
and daemon
modes and their use cases.esi-cli
injects secrets as environment variables and files.esi-cli
with ESI Federation servers.esi-cli
, begin with understanding its Modes of Operation and then explore the Command-Line Flags to see how you can tailor it to your needs.