Getting Started
This tutorial walks you through installing axm-vault and verifying your setup.
Prerequisites
- Python 3.12+
- uv (recommended) or pip
Installation
Or with pip:
Step 1: Verify Installation
Step 2: Declare a Credential Group
The catalog describes the credentials a package needs — schema only, no values:
Python
from axm_vault import CredentialGroup, CredentialSpec, Sensitivity
group = CredentialGroup(
id="acme",
package="axm-acme",
title="Acme",
specs=(
CredentialSpec(name="api_key", env="ACME_API_KEY", kind="token"),
CredentialSpec(
name="region", env="ACME_REGION", kind="str",
sensitivity=Sensitivity.CONFIG, required=False, default="eu",
),
),
)
print(group.spec("api_key").env) # ACME_API_KEY
See the Catalog Models reference for every field.
Step 3: Run the Tests
The workspace Makefile lives at the axm-forge root, not inside the package:
To exercise just this package:
Next Steps
- Catalog Models — Full model reference
- CLI Reference — Full command documentation
- Architecture — How the project is structured