https://github.com/davidecaruso/kcc
🏷️ Go CLI command to store keychain credentials in clipboard
https://github.com/davidecaruso/kcc
cli cli-command clipboard go golang keychain
Last synced: about 2 months ago
JSON representation
🏷️ Go CLI command to store keychain credentials in clipboard
- Host: GitHub
- URL: https://github.com/davidecaruso/kcc
- Owner: davidecaruso
- License: mit
- Created: 2020-10-03T16:40:13.000Z (over 4 years ago)
- Default Branch: develop
- Last Pushed: 2020-11-29T15:45:22.000Z (over 4 years ago)
- Last Synced: 2025-02-03T12:49:36.724Z (4 months ago)
- Topics: cli, cli-command, clipboard, go, golang, keychain
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **K**ey**C**hain**C**lipboard
> CLI command which stores your credentials and load passwords in clipboard when you need them```
Store your services' credentials and load passwords in clipboard when you need them:kcc add -s facebook.com -u [email protected]
kcc get -s facebook.com -u [email protected]Usage:
kcc [command]Available Commands:
add Store service credentials
del Delete service credentials
get Copy password in clipboard
help Help about any command
version Show current versionFlags:
--config string config file (default is $HOME/.kcc.yaml)
-h, --help help for kcc
-v, --verbose verbose outputUse "kcc [command] --help" for more information about a command.
```## How it works
Credentials are saved in a file with `root` permissions so you must enter your system password.
Passwords are copied in clipboard when you need them.## Custom storage file
Default storage file is located in `$HOME/.kcc.storage`, but if you want to customize it you have to follow these steps:
- create a config file – default is `$HOME/.kcc.yaml`
- set the *storage* key in the yaml file with an absolute path to the storage file as value. Example:
```yaml
storage: /absolute/path/to/storage/file
```
- if config file location is not equal to the default, run `kcc` with the ` --config /path/to/config.yaml ` flag## Author
[Davide Caruso](https://about.me/davidecaruso)## License
Licensed under [MIT](LICENSE).