Secrets in Vantiq are storage containers for sensitive information. To create one, open the navigation bar and go to Administer > Advanced > Secrets. Click the + at the top of the Secrets pane, then enter a name, an optional description, and the value you want to store. Once you save a secret, its value can never be viewed again. Alternatively, when you add a large language model or a source to a project, the drop-down menus let you select an existing secret or create a new one.
From there, using secrets anywhere within the same project is easy. Tools that routinely use secrets always provide drop-down menus where developers can select or create the one they need. In VAIL code, you reference a secret by writing @Secrets followed by the secret’s name in parentheses, so the code uses the secret without revealing its value. Finally, keep in mind that secrets are never exported to other projects. This is an important security feature.