How to Share Secrets with Local Development Environment

Last updated: October 16, 2025

To share secrets from your Dagster UI with your local development environment, you'll need to edit the environment variable settings to include the "local" tag. This allows the secrets to be accessible during local development.

Steps to enable secret sharing:

  1. Navigate to your Dagster UI secrets section

  2. Edit the environment variable you want to share

  3. Add the "local" tag to make it available for local development

  4. The secret will then be accessible when running dg plus pull env

    locally or when downloading from the UI to use locally.

For more detailed information about managing secrets and environment variables, refer to the Dagster documentation here.