Skip to content

Script to quickly view a pre-configured list of keys from an Enterprise Vault instance from the command line

Notifications You must be signed in to change notification settings

dotcomrow/vault-ops-keys

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

homebrew-sharedops

Homebrew tap for shared ops utilities.

Overview

This utility will display the keys and values of a pre-configured set of keys that are stored in the target Enterprise Vault instance.

This script displays the values of a pre-configured set of secrets from an enterprise vault instance. The script will:

  • Create .github-token-vault-ops-keys file in the user's home directory if it does not exist to store github token.
  • Create .vault-target-vault-ops-keys file in the user's home directory if it does not exist to store vault url.
  • Create .keys-list-vault-ops-keys in the user's home directory if it does not exist to store list of keys to display. This value will be populated with the defaults and can be edited as needed.

Requirements

  • HashiCorp Vault Cli Homebrew Formula. Will be installed if not already present.

Usage

  • Create a github token with read access to the enterprise vault instance.
  • Provide the github token, vault target, and keys list to the script.
show-keys.sh -g|--githubToken <github PAT token> -t|--vaultTarget <vault target> -k|--keysList <keys list> -o|--githubOrg <github org>

About Licensing

Read more about Licensing.

Author

Dotcom Row

License

Copyright (c) 2021 Dotcom Row (@dotcomrow) This software is released under the MIT License, see LICENSE.

Project Description Install
vault-ops-keys Script to quickly view a pre-configured list of keys from an enterprise vault in brew install vault-ops-keys

About

Script to quickly view a pre-configured list of keys from an Enterprise Vault instance from the command line

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%