https://github.com/spiffe/spire-ha-agent
SPIRE HA Agent
https://github.com/spiffe/spire-ha-agent
Last synced: 2 months ago
JSON representation
SPIRE HA Agent
- Host: GitHub
- URL: https://github.com/spiffe/spire-ha-agent
- Owner: spiffe
- License: apache-2.0
- Created: 2024-11-15T18:58:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-03-30T14:25:49.000Z (3 months ago)
- Last Synced: 2026-04-03T04:54:09.963Z (2 months ago)
- Language: Go
- Size: 362 KB
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SPIRE HA Agent
[](https://opensource.org/licenses/Apache-2.0)
[](https://github.com/spiffe/spiffe/blob/main/MATURITY.md#development)
An agent to setup a SPIRE HA TrustDomain using two independent SPIRE Servers
## Warning
This code is very early in development and is very experimental. Please do not use it in production yet. Please do consider testing it out, provide feedback,
and maybe provide fixes.
## How it Works
If the trust bundles of both servers are presented to the workload, it will not care which server instance a certificate is issued from. This agent provides
both trust bundles to the end user as one trust bundle, and will contact whichever server is responding to respond to x509 certificate or JWT token requests.
# Basic Setup
## Simple Diagram

# Advanced setup
While the basic setup allows a server to go down and workloads to continue to operate normally, it has a drawback. It requires both servers to be up during spire-ha-agent startup. This restriction can be eliminated by making the trust bundle of the other server available. The spire-trust-sync service can be used to do so.
## Cross Linked Trust Diagram
