Skip to main content

Module secret

Module secret 

Source
Expand description

In-app API-key storage (config/secret/store) types.

The desktop client collects a provider API key through a masked input and sends it to the local service over the supervised stdio channel. The service persists it through the shared secure-storage boundary (OS keyring or encrypted file) and never echoes it back: responses and errors carry provider labels only.

Structsยง

SecretStoreInfo
In-app secret-form support advertised by the service for the active provider.
SecretStoreParams
Parameters for storing a provider API key from the desktop client.
SecretStoreResult
Outcome of config/secret/store: the refreshed configuration plus whether the service restarted the session runtime to pick up repaired credentials.