Secrets
Learn more about the LangStream project here.
Secrets
A place to hold secrets. Each label:value in this file is used as a reference in configuration and pipeline manifests. Their values carry on to a step’s environment where it is applied. Secret values can be modified directly in secrets.yaml, or you can pass secrets as environment variables.
Manifest
An example secrets.yaml manifest contains the credentials necessary to connect to Astra and OpenAI.
The :-
characters designate a default value. For example, provider: "${OPEN_AI_PROVIDER:-openai}"
designates openai
as the default.
For finding these credentials, see Credentials.
Pass secrets as environment variables
Secret values can be modified directly in secrets.yaml, or you can pass your secrets as environment variables. The secrets.yaml resolves these environment variables.
When you go to production, you should create a dedicated secrets.yaml file for each environment.
Credentials
Where do you find credentials for these items? Here's a little help:
Please note that the example values provided are taken from the current content and may not accurately reflect the actual values that should be used for each secret.
Last updated