SecretHub logo on dark background SecretHub logo on white background
     
  • Product
    • Features
    • Integrations
    • Security
  • Pricing
  • Enterprise
  • Company
    • Blog
    • About
    • Contact
  • Docs
  • GitHub
  • Get Started
Documentation
Overview
Quickstart
1. Get Started
2. Deploy an App
3. Share Secrets
Concepts
Install the CLI
Best Practices
Reference Architectures
Amazon ECS + CircleCI GKE + GitHub Actions
Guides
Config Files
Environment Variables
Key Files
Integrations
Docker Terraform
Cloud
AWS EC2 AWS ECS AWS EKS AWS Lambda (Golang) Google Compute Engine Google Kubernetes Engine Linux VMs Windows Server
CI/CD
CircleCI GitHub Actions GitLab CI Jenkins Travis CI
IDE
VS Code
Application
ASP.NET Django Flask Kitura Node.js Perfect Phoenix Ruby on Rails Spring Boot
Enterprise
Support Plans
Uptime SLA
Reference
CLI
Management Commands
acl demo org repo service service aws service gcp account config credential
Commands
init signup write read generate ls mkdir rm tree inspect audit inject run
Other
Template Syntax Install the CLI Update the CLI Uninstall the CLI Configure flags with environment variables Passphrase caching
SDKs
Go Python .NET
AWS
GCP
Kubernetes Mutating Webhook
Deployment
Google Cloud Function AWS Lambda Kubernetes Cluster
Terraform Provider
Code Examples
Ansible Module
Security Design
Documentation / Reference / CLI

CLI Reference Documentation

This section contains reference documentation for working with the SecretHub CLI. For a step-by-step introduction, you can get started with this guide.

Management Commands

  • repo - manage repositories
  • org - manage organizations
  • acl - manage access rules on directories
  • service - manage non-human service accounts
  • service aws - manage AWS service accounts
  • service gcp - manage GCP service accounts
  • account - manage your account
  • credential - manage your credentials
  • config - manage your local configuration

Commands

  • write - write a secret
  • read - read a secret
  • generate - generate a secret
  • ls - list contents of a path
  • mkdir - create a directory
  • rm - remove a directory, secret or version
  • tree - show contents of a path in a tree-like format
  • inspect - print details of a resource
  • audit - show the audit log
  • inject - inject secrets into a template
  • run - pass secrets as environment variables
  • printenv - debug environment variables

Other

  • Template Syntax
  • Install the SecretHub CLI
  • Update the SecretHub CLI
  • Configure flags through environment variables
  • Passphrase caching
On this page:
  • Management Commands
  • Commands
  • Other
Getting Help

If you need help or have questions, come chat on Discord or email us at support@secrethub.io

SecretHub logo on dark background without text
We build software to make development, operations, and security into what it should be - easy and accessible
  • Product
  • Features
  • Pricing
  • Integrations
  • Security
  • Resources
  • Status
  • Support
  • Docs
  • Billing
  • Company
  • About
  • Blog
  • We're hiring!
  • Legal
  • Contact

© 2018- SecretHub. All rights reserved. Privacy Policy Terms & Conditions