Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

Commit beb08ea

Browse files
authored
docs: add secure token storage examples to README (#103)
Fixes #93
1 parent e19647b commit beb08ea

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,34 @@ export ATLASSIAN_API_TOKEN=your-api-token
676676
export CFL_URL=https://confluence.internal.corp.com # Different URL for Confluence
677677
```
678678

679+
### Secure Token Storage
680+
681+
Your API token is sensitive. Rather than storing it in a config file, we recommend using environment variables with a secret manager:
682+
683+
**1Password CLI:**
684+
685+
```bash
686+
# In your .zshrc or .bashrc
687+
export ATLASSIAN_API_TOKEN="$(op read 'op://Vault/Atlassian API Token/password')"
688+
```
689+
690+
**macOS Keychain:**
691+
692+
```bash
693+
# Store token
694+
security add-generic-password -s "atlassian-api" -a "api_token" -w "your-token-here"
695+
696+
# Retrieve in shell config
697+
export ATLASSIAN_API_TOKEN="$(security find-generic-password -s 'atlassian-api' -a 'api_token' -w)"
698+
```
699+
700+
**Windows Credential Manager:**
701+
702+
```powershell
703+
# Store
704+
cmdkey /generic:atlassian-api /user:api_token /pass:your-token-here
705+
```
706+
679707
---
680708

681709
## Output Formats

0 commit comments

Comments
 (0)