Complete guide to environment variables for the Wacht Rust SDK
wacht_sk_1234567890abcdef
https://your-app.wacht.io
Note: Include the protocol (https://
) and exclude trailing slashes./.well-known/jwk
endpoint.Format: Must include PEM headers and footers..env
file in your project root:
dotenv
crate:
Dockerfile
or docker-compose.yml
:
vercel.json
:
.gitignore
:
Environment variable not found
environment variable not found
Solutions:Invalid characters in API key
invalid header value
Solution: Ensure the API key doesn’t contain:URL parsing errors
invalid URL
Solutions:https://