Docs Menu

Define and Manage Secrets

On this page

  • Define a Secret
  • Create a New Secret
  • Define the Secret Value
  • Save and Deploy
  • View Secrets
  • Update a Secret
  • Access a Secret
  • Delete a Secret

You cannot directly read the value of a Secret after defining it. There are two ways to access a Secret that already exists in your App:

  1. Link to the Secret by name in Authentication Provider and Service configurations.
  2. Expose the Secret with a Secret Value. You can access the Secret Value in function's with context.values or in a rule expression with %%values.
←  Define a ValueDefine Environment Values →
Give Feedback
© 2022 MongoDB, Inc.


  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.