ExCredstash.CLI (ExCredstash v0.1.1)

View Source

Command-line interface for ExCredstash.

Build with: mix escript.build Usage: ./credstash <command> [options]

Available Commands

  • setup - Create DynamoDB table
  • put <name> [value] - Store a secret (reads stdin if no value)
  • get <name> - Retrieve a secret
  • getall - Retrieve all secrets
  • list - List all credentials
  • keys - List unique credential names
  • delete <name> - Delete all versions of a secret

Global Options

  • -r, --region - AWS region
  • -t, --table - DynamoDB table name
  • -k, --key - KMS key ID
  • -h, --help - Show help

Summary

Functions

Main entry point for the escript.

Functions

main(argv)

@spec main([String.t()]) :: :ok | no_return()

Main entry point for the escript.