keygen

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package keygen implements key generation request handling for the nstance-agent.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler implements the KeyRequestHandler interface for processing key generation requests

func New

func New(logger *slog.Logger, keysDir string, keyMode os.FileMode, agentClient *agent.Client) *Handler

New creates a new key request handler

func (*Handler) HandleKeyRequest

func (h *Handler) HandleKeyRequest(keyNames []string) error

HandleKeyRequest generates the requested keys and submits public keys to server

Jump to

Keyboard shortcuts

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