Skip to main content
Sensitive data storage within the env zero platform is governed by organizational policies, allowing administrators to disable this feature to prevent users from storing sensitive information if required. This policy applies to variables, SSH keys, and deployment credentials. Organization Policies page showing the Allow saving secrets on env zero toggle The policy is on by default, for all organizations. While it is on, secrets stored in env zero work with both SaaS and self-hosted agents. To modify the policy, navigate to Organization Settings and then select Policies.
Only organizations using self-hosted agents can turn this policy off. When it is off, variables, SSH keys, and deployment credentials must be secret references, saved as non-sensitive values. Secret references work only on self-hosted agents, so deployments on SaaS agents in the same organization that use sensitive variables, SSH keys, or credentials fail.

Next steps

To review the other runtime policies, see Manage policies.