LIA StudioLIA Studio
Documentation
⌘K
Back to the IDE
DocsAdvancedSecrets

Secrets

End-to-end encrypted secrets per organization and per project, and how to authorize a runner to read them.

LIA's secrets (passwords, tokens, API keys) are stored end-to-end encrypted: encryption and decryption always happen in your browser or in the runner — the server only transports and stores ciphertext, it never sees the plain value. If the database were ever leaked, there would be no way to read any secret without a user's or an authorized runner's private keys.

Organization vs. project

Every organization and every project has its own set of secrets, manageable from Settings > Organization > Secrets (or the /secrets page) for organization-level ones, and from File > Project secrets in the editor for a specific project. Any member of the organization can see the secrets of its projects — there's no more granular per-project access control yet.

Authorizing a runner

A runner can only read the secrets of a scope (organization or project) if someone explicitly authorizes it there: in the secrets manager, the "Runners" section lists connected runners with an Authorize/Revoke button. Authorizing wraps that scope's encryption key with the runner's public key — revoking simply removes that permission, without affecting anyone else's.

Reading a secret in a flow

The Get Secret node (category Secrets) reads secrets from the current project only — the runner has no user session to resolve a project's organization, only its own token. Wire its Key pin to the secret's name; if the project isn't saved or the runner isn't authorized, Found comes back false instead of failing the run.

Note

Already-decrypted values are memoized once per run — Get Secret won't re-request or re-decrypt the same secret if it appears multiple times in the same Run.

Documentation — LIA | LIA Studio