api-key-manager

API key generation, rotation, and management system

509 stars

Best use case

api-key-manager is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

API key generation, rotation, and management system

Teams using api-key-manager should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/api-key-manager/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/sdk-platform-development/skills/api-key-manager/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/api-key-manager/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How api-key-manager Compares

Feature / Agentapi-key-managerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

API key generation, rotation, and management system

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# API Key Manager Skill

## Overview

This skill implements comprehensive API key management including secure generation, rotation policies, usage tracking, and quota enforcement.

## Capabilities

- Generate cryptographically secure API keys
- Implement key rotation with grace periods
- Track key usage and enforce quotas
- Support key scoping and permissions
- Configure key prefix patterns for identification
- Implement key revocation and blacklisting
- Support multiple key types (test, live)
- Generate key hashes for secure storage

## Target Processes

- Authentication and Authorization Patterns
- Developer Portal Implementation
- Platform API Gateway Design

## Integration Points

- Key management systems (HashiCorp Vault)
- Rate limiting middleware
- Usage analytics systems
- Developer portal UIs
- API gateway key validation

## Input Requirements

- Key format requirements
- Scoping/permission model
- Rotation policy
- Quota definitions
- Storage security requirements

## Output Artifacts

- Key generation service
- Key validation middleware
- Rotation management system
- Usage tracking integration
- Quota enforcement rules
- Admin management API

## Usage Example

```yaml
skill:
  name: api-key-manager
  context:
    keyFormat:
      prefix: "sk_"
      testPrefix: "sk_test_"
      livePrefix: "sk_live_"
      length: 32
    rotation:
      enabled: true
      gracePeriod: "7d"
    scopes:
      - read
      - write
      - delete
    quotas:
      default: 1000
      premium: 10000
```

## Best Practices

1. Use cryptographically secure random generation
2. Prefix keys to indicate type (test/live)
3. Store only hashed keys in database
4. Implement rotation with overlap periods
5. Track usage per key for analytics
6. Support immediate revocation

Related Skills

plugin-registry-manager

509
from a5c-ai/babysitter

Manage SDK plugin discovery and registration

deprecation-manager

509
from a5c-ai/babysitter

Manage API and SDK deprecation lifecycle

zotero-reference-manager

509
from a5c-ai/babysitter

Reference management for bibliography organization, annotation sync, and citation formatting

data-versioning-manager

509
from a5c-ai/babysitter

Skill for managing data versions and provenance

nanosensor-calibration-manager

509
from a5c-ai/babysitter

Nanosensor characterization skill for calibration, sensitivity analysis, and selectivity validation

nanomaterial-lims-manager

509
from a5c-ai/babysitter

Laboratory Information Management System skill for nanomaterial sample tracking and data management

ligand-exchange-protocol-manager

509
from a5c-ai/babysitter

Surface chemistry skill for managing ligand exchange reactions, bioconjugation protocols, and functional group quantification

cleanroom-protocol-manager

509
from a5c-ai/babysitter

Cleanroom operations skill for managing protocols, contamination control, and process flows

computational-environment-manager

509
from a5c-ai/babysitter

Manage reproducible computational environments

benchmark-suite-manager

509
from a5c-ai/babysitter

Manage benchmarks for algorithm engineering experiments and evaluations

requirements-traceability-manager

509
from a5c-ai/babysitter

Design control traceability skill for managing user needs, design inputs, design outputs, and verification/validation linkages

iec62304-lifecycle-manager

509
from a5c-ai/babysitter

Medical device software lifecycle management skill implementing IEC 62304 requirements