Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,34 @@ export ATLASSIAN_API_TOKEN=your-api-token
export CFL_URL=https://confluence.internal.corp.com # Different URL for Confluence
```

### Secure Token Storage

Your API token is sensitive. Rather than storing it in a config file, we recommend using environment variables with a secret manager:

**1Password CLI:**

```bash
# In your .zshrc or .bashrc
export ATLASSIAN_API_TOKEN="$(op read 'op://Vault/Atlassian API Token/password')"
```

**macOS Keychain:**

```bash
# Store token
security add-generic-password -s "atlassian-api" -a "api_token" -w "your-token-here"

# Retrieve in shell config
export ATLASSIAN_API_TOKEN="$(security find-generic-password -s 'atlassian-api' -a 'api_token' -w)"
```

**Windows Credential Manager:**

```powershell
# Store
cmdkey /generic:atlassian-api /user:api_token /pass:your-token-here
```

---

## Output Formats
Expand Down