# Unsupported astro:env getSecret

Deprecated

This error is from an older version of Astro and is no longer in use. If you are unable to upgrade your project to a more recent version, then you can consult [unmaintained snapshots of older documentation](/en/upgrade-astro/#older-docs-unmaintained) for assistance.

> **EnvUnsupportedGetSecret**: `astro:env/server` exported function `getSecret` is not supported by your adapter.

## What went wrong?

[Section titled “What went wrong?”](#what-went-wrong)

The `astro:env/server` exported function `getSecret()` is not supported by your adapter.