Skip to content

Add CLI support for Locksmith #53

@irfanghat

Description

@irfanghat

Issue: Add CLI Support for Locksmith

Description

Locksmith currently lacks a command-line interface (CLI) for managing secrets, which limits usability for developers, DevOps engineers, and IoT/Edge deployments. This issue aims to introduce a feature-rich CLI to interact with Locksmith, enabling seamless secret management via terminal commands.

Proposed Features:

  • Authentication & Configuration: CLI should support authentication methods (e.g., token-based, certificate-based).
  • Secret Management:
    • Store, retrieve, update, and delete secrets.
    • List available secrets with metadata.
  • Access Control:
    • Manage permissions for users, devices, and applications.
  • Secret Rotation & Expiry:
    • Rotate secrets manually or trigger automatic rotation.
  • Integration & Scripting:
    • Support for CI/CD automation and scripting.
  • User-Friendly Output:
    • JSON and human-readable formats for easy parsing.

Technical Considerations:

  • Written in Rust, aligning with Locksmith’s core implementation.
  • Cross-platform support (Linux, macOS, Windows).
  • Compatible with existing Locksmith API endpoints.

Expected Outcome

A robust CLI tool that enhances usability, security, and automation for managing secrets with Locksmith.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions