Skip to content
You are reading the docs for Wanaku next, the Rust-based server (early access of 0.3.0). Read the Classic docs for the Java-based Wanaku 0.2.

Pass secrets to the Wanaku server ​

The wanaku.yaml file refers to secrets with env:NAME references, for example in llm_connections and in credential bindings. The server reads each value from its own process environment when it starts.

Pass the variables ​

Pass the variables to the server:

  • Container: Add -e NAME to podman run to copy the variable from your shell. Export the variable before you run the command. You can also use --env-file or podman secret create with --secret NAME,type=env.
  • systemd: Put the variables in /etc/wanaku/wanaku.env. Set the file mode to 0600.

Missing variables ​

A missing variable has different results:

ConfigurationResult
llm_connections or typesafe_system_one_connectionsThe server rejects all connections of that type and stops with evaluator startup failed: connection_configuration_invalid.
Credential bindingsThe server logs secret_not_found and skips discovery for that forward. The server continues to run.

Check credential bindings ​

For credential bindings, also check these items:

  • Each binding must have an origin with the scheme, host, and port of the forward address.
  • The forward field is credential_bindings. An unknown key in a forward or binding entry stops startup. The error names the key, for example forwards.0.credentials_bindings.

Read Credential Brokerage for the complete binding reference.

Next steps ​