4eb93b7640
Dotfiles managed with GNU Stow: Hyprland (Lua config), Neovim, zsh, tmux, ghostty, alacritty, waybar, yazi, lazygit, herdr, Claude Code. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
21 lines
732 B
Markdown
21 lines
732 B
Markdown
|
|
# Secrets
|
|
|
|
## Keyring
|
|
- [Good article about how to store secrets in keyrings](https://www.grahamwatts.co.uk/gnome-secrets/)
|
|
|
|
### TLDR
|
|
Using ```gnome-keyring``` and ```secret-tool store --label="Github Token" key github```. Enter password/token/secret.
|
|
Retrieve with: ```secret-tool lookup key github```
|
|
Set as local ENV: ```local VAULT_TOKEN=$(secret-tool lookup key vault)```
|
|
Set as .zshrc: ```export VAULT_TOKEN=$(secret-tool lookup key vault)```
|
|
|
|
There is a GUI available ```seahorse```.
|
|
|
|
## ZSH
|
|
- [Argument expansion](https://unix.stackexchange.com/questions/6/what-are-your-favorite-command-line-features-or-tricks/67#67)
|
|
- [Zinit](https://zdharma-continuum.github.io/zinit/wiki/INTRODUCTION/) - "Package manager for zsh"
|
|
|
|
|
|
|