Conceal is a command-line utility that eases the interaction between developer and OSX Keychain Access. It is the open-source companion to Summon as every secret added using this tool into Keychain is added using Summon-compliant formatting.
- MacOS
brew tap infamousjoeg/tap
brew install conceal- Download the latest release available at GitHub Releases.
- Move the
concealexecutable file to a directory in yourPATH. (I use~/bin.) - In Terminal, run the following command to make sure it's in your
PATH:
$ conceal -v
$ conceal dockerhub/token
or
$ conceal -a dockerhub/token
To add a secret to Keychain, call conceal and use the -a argument to pass the account name to add. You will be immediately prompted to provide a secret value in a secure manner.
$ conceal -l
To list all secrets associated with Summon in Keychain, call conceal and use the -l argument to list all accounts present.
To filter the list further, pipe to grep like this $ conceal -l | grep dockerhub/.
$ conceal -a dockerhub/token -r
To remove a secret that was added for Summon, call conceal and use the -a argument to pass the account name to remove. The additional -r argument tells conceal to remove the secret instead of add.
$ conceal
To display the help message, just call conceal with no arguments.
$ conceal -v
To display the current version, call conceal with the -v argument.
Pull Requests are currently being accepted. Please read and follow the guidelines laid out in CONTRIBUTING.md.
