A quick how-to create and access secrets using the 1Password CLI:
brew install 1password-cliop vault create CLIop item create \
--vault "CLI" \
--category "API Credential" \
--title "GH_Token" \
"gh.GITHUB_TOKEN[password]=ghp_xyz"Create the .env:
export GITHUB_TOKEN=$(op read "op://CLI/GH_Token/GITHUB_TOKEN")Source the .env:
source .env