Documentation
¶
Overview ¶
Package identity creates and validates Podmin agent certificates.
Index ¶
Constants ¶
View Source
const (
// ClusterCAPathSuffix is the reserved cluster CA parameter suffix.
ClusterCAPathSuffix = "/_system/cluster-ca"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Authority ¶
type Authority struct {
// contains filtered or unexported fields
}
Authority is a validated cluster certificate authority.
type NodeIdentity ¶
NodeIdentity is an authenticated Podmin node identity.
func IdentityFromContext ¶
func IdentityFromContext(ctx context.Context, cluster string) (NodeIdentity, error)
IdentityFromContext extracts a node identity from a verified gRPC TLS peer and exact cluster trust domain.
Click to show internal directories.
Click to hide internal directories.