Framework support
Dotvault for Astro
Dotvault for Astro sites.
Astro uses the PUBLIC_ prefix to mark client-exposed env vars, and the rest stay server-only. Dotvault understands that, detects Astro projects automatically, and gives you the visual editor you'd actually want for managing the thing.
What you get
- →Detects Astro projects automatically.
- →Understands the PUBLIC_ prefix convention.
- →Warns when a PUBLIC_ value can only be a secret, so a key that was fine server-side does not quietly go public when you rename it.
- →Snapshot history, diff view, and git integration.
Known environment variables
Dotvault recognises these variables when you open a Astro project and surfaces helpful descriptions and warnings in the editor. Astro is detected via astro in package.json.
PUBLIC_Client-exposed variable (Astro)
ASTRO_TELEMETRY_DISABLEDDisable Astro telemetry
HOSTDev server host
PORTDev server port
Official Astro docs: docs.astro.build