Skip to content

Commit 52d4700

Browse files
committed
chore: update AGENTS.md to clarify connection creation authentication parameters
1 parent b6c967b commit 52d4700

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

AGENTS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ CLI: --slack-channel "#alerts"
5252
- `--destination-type HTTP` when creating destination inline
5353
- This prevents confusion between source and destination types in single command
5454
- **Authentication**: Standard patterns (`--api-key`, `--webhook-secret`, `--basic-auth`)
55+
- **Connection creation**: Use prefixed authentication to avoid collisions
56+
- `--source-webhook-secret` for source authentication
57+
- `--destination-api-key` for destination authentication
5558
- **Collections**: Use comma-separated values (`--connections "a,b,c"`)
5659
- **Booleans**: Use presence flags (`--email`, `--pagerduty`, `--force`)
5760
@@ -69,6 +72,7 @@ hookdeck destination create --type HTTP --url https://api.example.com
6972
# Connection creation with inline resources (requires prefixed flags)
7073
hookdeck connection create \
7174
--source-type STRIPE --source-name "stripe-prod" \
75+
--source-webhook-secret "whsec_abc123" \
7276
--destination-type HTTP --destination-name "my-api" \
7377
--destination-url "https://api.example.com/webhooks"
7478
```

0 commit comments

Comments
 (0)