Skip to content

suin/1password-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1Password API Key Manager

A command-line tool for securely managing API keys using 1Password CLI. This tool provides an interactive interface for storing API keys in your 1Password vault.

Features

  • Interactive CLI interface using gum
  • Secure storage in 1Password
  • Vault selection from your available 1Password vaults
  • Structured API key storage with title, URL, and key
  • AWS access key management with automatic credential verification

Prerequisites

Installation

  1. Clone this repository
  2. Install devbox if you haven't already:
    curl -fsSL https://get.jetpack.io/devbox | bash
  3. Set up the development environment:
    devbox shell

Usage

To store a new API key:

just api-key

This will start an interactive process that will:

  1. Let you select a 1Password vault
  2. Ask for the API key title
  3. Ask for the associated URL
  4. Securely input the API key
  5. Store the information in your selected 1Password vault

To store a new AWS access key:

just aws-access-key

This will:

  1. Ask for a descriptive name for the access key
  2. Securely input the AWS access key ID and secret access key
  3. Let you select a 1Password vault
  4. Store the credentials in your selected 1Password vault
  5. Verify the credentials by making a test API call

Development

This project uses:

To set up the development environment:

  1. Install devbox
  2. Run devbox shell to enter the development environment
  3. All required tools will be automatically installed

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published