sops_create_oidc_secret
Creates an Authelia-compatible OIDC client secret by generating a 64-character alphanumeric secret and a PBKDF2-SHA512 hash, stores them encrypted, and returns the hash for configuration.
Instructions
Convenience tool: create an Authelia-compatible OIDC client secret. Generates KEY_NAME as a 64-char alphanumeric 'generated' secret AND KEY_NAME_HASH as a 'derived' PBKDF2-SHA512 hash of it, stored together in a new encrypted file. The hash is returned in the response for pasting into Authelia's configuration.yml. Equivalent to calling sops_create_secrets with one generated and one derived (pbkdf2_sha512_authelia) entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_name | Yes | Base name for the plaintext secret (e.g. GRAFANA_OIDC_CLIENT_SECRET). The hash will be stored as KEY_NAME_HASH. Must match ^[A-Z][A-Z0-9_]*$. | |
| description | No | Human-readable note (e.g. 'OIDC client secret for Grafana') |