pi-libsecret
v0.1.3
Published
Load API keys with secret-tool
Maintainers
Readme
pi-libsecret
pi-libsecret fetches API keys for all supported providers in pi from libsecret using secret-tool.
Installation
# From npm
pi install npm:pi-libsecret
# From Codeberg
pi install codeberg.org/arnarg/pi-libsecret
# For development
git clone https://codeberg.org/arnarg/pi-libsecret.git
pi -e ./pi-libsecret/index.tsUsage
Store your API keys using secret-tool with attribute llm:
> secret-tool store --label='Minimax API Key' llm minimax
Password:The following provider names will be checked:
anthropicazure-openai-responsesopenaigooglemistralgroqcerebrasxaiopenroutervercel-ai-gatewayzaiopencodeopencode-gohuggingfacekimi-codingminimaxminimax-cn
If
secret-toolis not found in PATH or a secret is not found the extension fails silently and does nothing.
License
MIT
