Skip to content

feat: support 1password secret references for the AES key - #835

Open
mvisonneau wants to merge 1 commit into
mainfrom
feat/1password-secret-references
Open

feat: support 1password secret references for the AES key#835
mvisonneau wants to merge 1 commit into
mainfrom
feat/1password-secret-references

Conversation

@mvisonneau

@mvisonneau mvisonneau commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Storing the AES key in a shell profile or an environment variable means keeping it in plaintext. Any value that starts with op:// is now treated as a 1Password secret reference and resolved at runtime through the op CLI, so only the (non sensitive) reference needs to be stored:

export S5_AES_KEY="op://Private/s5/aes-key"

1Password unlocks the value the way it is configured to: biometrics or the desktop app when working interactively, OP_SERVICE_ACCOUNT_TOKEN when running unattended. Values that do not start with op:// keep being used as-is, making this entirely opt-in.

The resolution happens in a dedicated package, behind a helper which can be reused for the other secrets s5 handles (eg: the Vault token) later on.

@mvisonneau
mvisonneau force-pushed the feat/1password-secret-references branch from 08cb319 to a02f218 Compare September 2, 2026 16:59
Storing the AES key in a shell profile or an environment variable means
keeping it in plaintext. Any value that starts with `op://` is now treated
as a 1Password secret reference and resolved at runtime through the `op`
CLI, so only the (non sensitive) reference needs to be stored:

  export S5_AES_KEY="op://Private/s5/credential"

1Password unlocks the value the way it is configured to: biometrics or the
desktop app when working interactively, OP_SERVICE_ACCOUNT_TOKEN when
running unattended. Values that do not start with `op://` keep being used
as-is, making this entirely opt-in.

The resolution happens in a dedicated package, behind a helper which can be
reused for the other secrets s5 handles (eg: the Vault token) later on.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@mvisonneau
mvisonneau force-pushed the feat/1password-secret-references branch from a02f218 to 11aca0c Compare September 2, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant