> ## Documentation Index
> Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# WireGuard Key Generator

> Generate a new key pair or derive a public key.

Actions do the actual work in a workflow: API calls, transformations, notifications, flow control, and integrations. Use this action when your workflow needs to perform an operation, call an external service, or transform data for downstream nodes.

## When To Use

* Generate WireGuard credentials during site onboarding.
* Derive missing public keys from pre-existing private keys.

## Configuration Checklist

1. Choose mode: generate new key pair or derive public key.
2. Provide private key when deriving only.
3. Capture output keys and route securely.
4. Store sensitive values in vault/secret management flows.

## Inputs

* Required `node.data` metadata: `uiId`, `componentId`, and `operation` (for actions that define an operation).
* Action-specific configuration fields from the node editor.
* Upstream context values from triggers or previous nodes (for example `trigger.*` or prior action outputs).

## Outputs

* Adds action result data to the workflow context for downstream nodes.
* May produce external side effects (API updates, notifications, scripts, SSH commands, etc.).
* Can emit structured values consumed by conditions or subsequent actions.

## Failure Modes

* Missing required configuration or invalid parameter values.
* Missing/invalid context variable references from upstream nodes.
* External dependency failures (HTTP errors, auth failures, timeouts, rate limits).
* Payload validation/parsing errors during request or response handling.

## Best Practices

* Do not expose private keys in plain-text notifications or logs.
