Documentation
¶
Overview ¶
Package mint makes the NATS user JWT and creds of one endpoint: signed by the account signing key and carrying the endpoint's own permission set (admin.Permissions). There is no per-zone scoped signing key and no tag (ADR 0091): the address is the fence, and the key that signs a user is the account's own. It does no network I/O; the key comes through the Keys seam (ADR 0052).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Minted ¶
type Minted struct {
Name string
UserPub string
AccountPub string
JWT string
Creds []byte // the creds file contents (JWT and seed): a secret
}
Minted is one issued user. Creds holds the user seed: never log or print it.