SPIRE HA Agent
Go to file
kfox1111 7dfb9889a5
Merge pull request #13 from spiffe/dependabot/go_modules/github.com/go-jose/go-jose/v4-4.0.5
Bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5
2025-04-23 07:32:29 -07:00
.github/workflows goreleaser bits 2024-11-16 06:37:49 -08:00
cmd HA startup 2025-01-20 04:46:33 -08:00
config Add missing files 2025-01-25 15:17:38 -08:00
pkg/peertracker Add missing file 2025-01-07 15:54:24 -08:00
systemd spiffe-helper 0.9.0 is more strict. Fix missing option. 2025-01-27 06:39:54 -08:00
.goreleaser.yaml Add missing files 2025-01-25 15:17:38 -08:00
Dockerfile Restructure 2025-01-13 07:27:54 -08:00
LICENSE Initial commit 2024-11-15 10:58:12 -08:00
README.md Update docs 2025-03-21 07:49:49 -07:00
diagram.dot Initial readme 2024-11-15 11:24:11 -08:00
diagram.png Initial readme 2024-11-15 11:24:11 -08:00
diagram2.dot Add Cross Trust diagram 2025-01-11 08:29:35 -08:00
diagram2.png Add Cross Trust diagram 2025-01-11 08:29:35 -08:00
go.mod Bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5 2025-04-23 14:28:54 +00:00
go.sum Bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5 2025-04-23 14:28:54 +00:00

README.md

SPIRE HA Agent

Apache 2.0 License Development Phase

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

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

diagram