keys-manager_skill

This skill helps you manage API keys locally from the terminal, storing, retrieving, and exporting securely across profiles.
  • Python

2.5k

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

3 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill keys-manager

  • _meta.json630 B
  • SKILL.md5.8 KB

Overview

This skill manages API keys and secrets from the terminal using the keys CLI. It provides secure local storage, interactive browsing, profile-based isolation, and utilities to import/export .env files for project workflows. It’s designed for quick retrieval, safe sharing, and organized multi-project key management.

How this skill works

The tool stores keys in an encrypted store and exposes commands to add, get, edit, delete, and list keys. A TUI offers fuzzy search, masking, clipboard copy, and batch export to .env files. Profiles isolate keys per project or environment and commands respect the active profile. On macOS, biometrics (Touch ID) are used to gate access; other systems operate without a prompt.

When to use it

  • Store API keys and secrets locally and retrieve them from the shell.
  • Generate or update .env files for projects from a curated key set.
  • Share masked key views during screen-sharing or demonstrations.
  • Migrate or bulk-load secrets from existing .env files.
  • Separate credentials per project or environment using profiles.

Best practices

  • Use keys add <NAME> <VALUE> when you know exact names to avoid duplicates.
  • Switch profiles (keys profile use) per project to avoid accidental secret leakage.
  • Use keys peek for masked views during pair programming or presentations.
  • Run keys import <file> to parse existing .env files; review new vs updated counts before accepting changes.
  • Export with keys env or eval $(keys expose) only in trusted shells; avoid exporting into long-lived CI logs.

Example use cases

  • Add and retrieve a service token: keys add OPENAI_KEY sk-XXXXX then keys get OPENAI_KEY.
  • Create a project .env: keys profile use projectA; keys env > .env
  • Bulk import secrets from a legacy .env: keys import .env and review the summary.
  • Share credentials safely: keys see or keys peek to copy a single KEY=VAL to clipboard.
  • Quickly switch environments: keys profile list to view profiles and keys profile use staging to activate staging credentials.

FAQ

Profiles scope all key operations; add/get/see/remove act only within the active profile you select with keys profile use.

Can I export keys to my shell for immediate use?

Yes — keys expose prints export statements and you can run eval $(keys expose) to load them into the current shell. Only do this in trusted environments.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational