Atlas App Services has reached its end-of-life status and is no longer actively supported by MongoDB. Triggers remain available in the Atlas UI. Refer to the deprecation page for details.
You can define static values in the /values directory.
Each value is defined in its own JSON file with the same name as the value.
app/ └── values/ └── <value name>.json
Configuration
<value name>.json
{ "id": "<Value ID>", "name": "<Value Name>", "from_secret": <boolean>, "value": <Stored JSON Value|Secret Name> }
Field | Description |
|---|---|
idstring | A string that uniquely identifies the value. Atlas App Services automatically generates a unique ID for a value when you create it. |
namestring | A unique name for the value. This name is how you refer to the value in functions and rules. |
from_secretboolean | Default: |
valueany | The stored data that App Services exposes when the value is referenced. If If |