Skip to main content

Authentication

OAuth2 Client Credentials

# 1. Obtain token
curl -X POST https://auth.cdp.internal/oauth/token \
-d "grant_type=client_credentials" \
-d "client_id=YOUR_CLIENT_ID" \
-d "client_secret=YOUR_CLIENT_SECRET" \
-d "scope=profile:read segment:read"

# 2. Use token
curl -H "Authorization: Bearer {token}" \
https://api.cdp.internal/v1/segments

Scopes

ScopePermissions
profile:readRead profile data (requires consent check)
segment:readList and read segments
segment:writeCreate and modify segments
pipeline:readView pipeline configurations
pipeline:writeCreate and deploy pipelines
consent:manageUpdate consent preferences
dsar:processProcess data subject requests
adminFull platform access

Service-to-Service Auth

Internal services use mTLS with certificates managed by HashiCorp Vault.