Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotMobile = errors.New("mobilebundle: host is not a mobile host")
Functions ¶
func Build ¶
func Build(ctx context.Context, s store.Store, resolver interface { LoadByID(context.Context, string) (*pki.CAManager, error) }, host *models.Host) ([]byte, error)
Build mints a fresh X25519 keypair + cert for a mobile host, persists the cert via store, and returns a self-contained Nebula YAML bundle with inline PEM for ca/cert/key. The private key is not persisted server-side — it lives only in the returned bytes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.