Skip to content

Commit 53dc015

Browse files
chris-rockclaude
andcommitted
docs: add Vault auth to README and fix stale mutually-exclusive comments
Update the README feature table and auth method list to include HashiCorp Vault. Fix stale mutually-exclusive comments on KubeconfigSecretRef, ServiceAccountAuth, and WorkloadIdentity fields that were missing SPIFFEAuth and/or VaultAuth. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bdcb760 commit 53dc015

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Install the operator in a central management cluster and scan remote clusters vi
7474
│ └──────────┬──────────────────┘ │
7575
└─────────────┼───────────────────────┘
7676
77-
│ kubeconfig / WIF / SPIFFE
77+
│ kubeconfig / WIF / SPIFFE / Vault
7878
7979
┌─────────┴─────────┬─────────────────┐
8080
▼ ▼ ▼
@@ -91,6 +91,7 @@ Install the operator in a central management cluster and scan remote clusters vi
9191
- **Kubeconfig**: Use a kubeconfig file stored in a Secret
9292
- **Workload Identity (WIF)**: Native cloud provider authentication for GKE, EKS, AKS
9393
- **SPIFFE**: Use SPIFFE/SPIRE for cross-cluster authentication
94+
- **HashiCorp Vault**: Dynamic short-lived credentials via Vault's Kubernetes secrets engine
9495

9596
```yaml
9697
# External cluster scanning with kubeconfig
@@ -139,6 +140,7 @@ spec:
139140
| Kubeconfig Auth | - | ✅ |
140141
| Workload Identity (GKE/EKS/AKS) | - | ✅ |
141142
| SPIFFE Auth | - | ✅ |
143+
| HashiCorp Vault Auth | - | ✅ |
142144
143145
![Architecture](docs/img/architecture.svg)
144146

api/v1alpha2/mondooauditconfig_types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,17 +154,17 @@ type ExternalCluster struct {
154154

155155
// KubeconfigSecretRef references a Secret containing kubeconfig for the remote cluster.
156156
// The Secret must have a key "kubeconfig" with the kubeconfig content.
157-
// Mutually exclusive with ServiceAccountAuth and WorkloadIdentity.
157+
// Mutually exclusive with ServiceAccountAuth, WorkloadIdentity, SPIFFEAuth, and VaultAuth.
158158
// +optional
159159
KubeconfigSecretRef *corev1.LocalObjectReference `json:"kubeconfigSecretRef,omitempty"`
160160

161161
// ServiceAccountAuth configures authentication using a service account token.
162-
// Mutually exclusive with KubeconfigSecretRef and WorkloadIdentity.
162+
// Mutually exclusive with KubeconfigSecretRef, WorkloadIdentity, SPIFFEAuth, and VaultAuth.
163163
// +optional
164164
ServiceAccountAuth *ServiceAccountAuth `json:"serviceAccountAuth,omitempty"`
165165

166166
// WorkloadIdentity configures cloud-native Workload Identity Federation authentication.
167-
// Mutually exclusive with KubeconfigSecretRef, ServiceAccountAuth, and SPIFFEAuth.
167+
// Mutually exclusive with KubeconfigSecretRef, ServiceAccountAuth, SPIFFEAuth, and VaultAuth.
168168
// +optional
169169
WorkloadIdentity *WorkloadIdentityConfig `json:"workloadIdentity,omitempty"`
170170

0 commit comments

Comments
 (0)