mobilebundle

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 18 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL