Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Laptop is the last place your secrets are still in plaintext. Parent comment
echo -n "sk-proj-12345..." | systemd-creds encrypt --with-key=tpm2 --name=openai_key - openai.cred
And then at runtime export OPENAI_API_KEY=$(sudo systemd-creds decrypt openai.cred)
There are no comments on this comment yet.
echo -n "sk-proj-12345..." | systemd-creds encrypt --with-key=tpm2 --name=openai_key - openai.cred
And then at runtime export OPENAI_API_KEY=$(sudo systemd-creds decrypt openai.cred)