Files
NikolayandGitHub 590afe3070 go.mod: unpin cloud.google.com/go/storage
Add build tag `disable_grpc_modules` for vmbackup, vmrestore and
vmbackupmanager. Binary size increases only for 3MB with it. It's
acceptable trade-off for security and feature updates.

Related issue:
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/8008
2025-08-19 12:21:54 +02:00

13 lines
333 B
Go

package jwtbundle
import (
"github.com/spiffe/go-spiffe/v2/spiffeid"
)
// Source represents a source of JWT bundles keyed by trust domain.
type Source interface {
// GetJWTBundleForTrustDomain returns the JWT bundle for the given trust
// domain.
GetJWTBundleForTrustDomain(trustDomain spiffeid.TrustDomain) (*Bundle, error)
}