os-keychain

Store, retrieve, and delete secrets via OS-native keychain services.

45|4|Updated Nov 25, 2025
One-click install
npx skills add https://github.com/martinholovsky/claude-skills-generator --skill os-keychain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: os-keychain
Source: https://github.com/martinholovsky/claude-skills-generator/tree/main/skills/os-keychain
Command: npx skills add https://github.com/martinholovsky/claude-skills-generator --skill os-keychain

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires keyring, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a secure, cross-platform method for storing sensitive credentials like API keys and passwords, preventing them from being exposed in code or configuration files.

Core Features & Use Cases

  • OS-Native Storage: Leverages Windows Credential Manager, macOS Keychain Services, and Linux Secret Service for robust security.
  • Secure Credential Management: Offers functions to store, retrieve, and delete secrets with platform-specific security controls.
  • Use Case: Securely store your cloud provider API key so your application can access cloud resources without exposing the key in your codebase or environment variables.

Quick Start

Use the os-keychain skill to store the secret 'my-api-key' with the value 'sk-12345'.

Frequently Asked Questions about os-keychain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I securely store API keys and passwords across different operating systems?

This approach abstracts platform differences by leveraging Windows Credential Manager, macOS Keychain Services, and Linux Secret Service, preventing sensitive data exposure in code or environment variables.

What is the best way to manage secrets without exposing them in environment variables?

Using OS-native keychain storage enforces security principles like platform-native storage and access isolation, offering functions to store, retrieve, and delete sensitive credentials safely outside of environment variables.

Does cross-platform credential storage work natively with Windows, macOS, and Linux?

Yes, it leverages Windows Credential Manager, macOS Keychain Services, and Linux Secret Service natively, abstracting platform differences to manage sensitive data uniformly across these operating systems.

How do I store and retrieve a secret value using OS keychain services?

You use provided functions to securely save a credential with a specific key name, such as storing 'my-api-key' with its value, and retrieve it later when your application needs access to cloud resources.

Do I need the keyring dependency to use OS-native keychain services?

Yes, the keyring dependency is required as the underlying mechanism to interface with OS-native keychain services and manage secure credential storage across Windows, macOS, and Linux platforms.

When should I not use OS-native keychain for secrets management?

You should avoid OS-native keychain when managing secrets for remote server environments or multi-user shared access, as it enforces local access isolation and relies on platform-specific security controls.