attesta init command creates an attesta.yaml configuration file in the current working directory. This file controls challenge policies, risk scoring, trust engine behavior, and audit settings for your project.
Usage
Example
Generated Config Template
The generatedattesta.yaml contains all configurable sections with sensible defaults and inline documentation:
attesta.yaml
All sections are optional. When omitted, Attesta uses safe defaults: actions are denied on timeout, CRITICAL operations require 2-party approval, and trust starts low at 0.3.
Typical Workflow
1
Initialize the config
2
Activate a domain profile (optional)
If you’ve registered a custom domain profile, uncomment and set the Register custom profiles with
domain field:register_preset(). See the domain profiles guide.3
Add risk overrides
Pin specific actions to known risk levels:
4
Load in your application
Next Steps
attesta.yaml Reference
Complete configuration reference with all options
Domain Profiles
Activate industry-specific risk scoring