Documentation
¶
Overview ¶
Package nodegrant mints the node grants of the CSI plugin.
Index ¶
Constants ¶
const TTL = time.Hour
TTL is the life of a node grant. The store keeps a rotated key for as long.
Variables ¶
This section is empty.
Functions ¶
func LoadAttachVerifier ¶ added in v0.45.0
LoadAttachVerifier reads the public key that verifies attach grants: JSON {"kid","key"}, where key is the standard base64 of a raw ML-DSA-65 public key. The verifier accepts the scope attach from it and no other.
Types ¶
type Minter ¶
type Minter struct {
// contains filtered or unexported fields
}
Minter signs the node grant of a workspace volume.
func Load ¶
Load reads a key file: JSON {"kid","key"}, where key is a PKCS#8 PEM block of an ML-DSA-65 private key.