Only model owners or editors can create environment variables. When you set environment variables for active Model APIs/Endpoints, you’ll need to restart the APIs/Endpoints so they will be recognized.
In Domino 5.11, when you add a model variable, the values are pushed to all running model versions.
Project-level and user-level environment variables are not used in models and must be set separately for each model.
-
Open your Model and click Settings.
-
In the Environment variables section, add the following:
-
Name: Enter the variable name. For example,
YOUR_NAME_MODEL_KEY
. -
Value: Enter a value for the variable. The maximum length for a value is 64K.
-
-
Click Set Variable.
-
Our Best Practices will guide you in setting up and maintaining your Domino environments.
-
Set up user environment variables for each user. The system injects these variables at execution time for any run initiated by that user.
-
Learn to build project variables to add, modify, or delete environment variables for your projects.
-
The Default Domino Variables glossary contains details about variables automatically injected by Domino.