Policy fields
Evaluation
Rules are processed in order. The first matching rule’saction is applied. If no rule matches, the request is rejected (fail-secure default).
For API key auth wallets, a project-level policy is evaluated first, followed by any account-level policy.
API key configuration
To manage policies via SDK or API, your API key must have the Non-custodial > Manage (modify policies) scope enabled under API restrictions > API-specific restrictions.Create a policy
Policies can be created from the CDP Portal or via the SDK.CDP Portal
In the Portal, navigate to Non-custodial Wallet > Security and click Create project policy to open the JSON editor.SDK
- User Authentication
- API Key Authentication
User authentication wallets support project-scope policies only.
- Node (TypeScript)
- Python