# Secrets

Workspace secrets and environments that runs and deployed apps read. Listing returns metadata only, never values. Reading production values needs a short-lived step-up that a workspace owner or admin approves in the browser (the production-access flow).

- [Ask to read production values](https://syndai.ai/docs/api/secrets/start-production-access.md): POST /api/v1/external/coding/cli/production-access
- [Poll a production step-up](https://syndai.ai/docs/api/secrets/redeem-production-access.md): POST /api/v1/external/coding/cli/production-access/token
- [List environments](https://syndai.ai/docs/api/secrets/list-environments.md): GET /api/v1/external/coding/environments
- [List secrets](https://syndai.ai/docs/api/secrets/list-secrets.md): GET /api/v1/external/coding/secrets
- [Import secrets from a .env file](https://syndai.ai/docs/api/secrets/import-secrets.md): POST /api/v1/external/coding/secrets/import
- [Read an environment's secret values](https://syndai.ai/docs/api/secrets/resolve-secrets.md): POST /api/v1/external/coding/secrets/resolve
- [Delete a secret](https://syndai.ai/docs/api/secrets/delete-secret.md): DELETE /api/v1/external/coding/secrets/{key_name}
- [Set a secret](https://syndai.ai/docs/api/secrets/put-secret.md): PUT /api/v1/external/coding/secrets/{key_name}
