Using .bruin.yml
as a Secrets Backend
The easiest secret backend you can use with Bruin is a .bruin.yml
file. This file should sit at the root of the repository and will contain the connection details and other secrets used in your pipelines.
.bruin.yml
is the default secrets backend. To use it, simply place the file at the root of your project. You can also specify a different location using the --config-file /path/to/.bruin.yml
.bruin.yml
Schema
.bruin.yml contains information about your secrets and credentials organised in "environments". It also contains information about the default environment to use when none is specified. The environments contains a set of connections grouped by platform. This is an example that illustrates the schema from the Quickstart.
default_environment: default
environments:
default:
connections:
duckdb:
- name: "duckdb-default"
path: "duckdb.db"
chess:
- name: "chess-default"
players:
- "erik"
- "vadimer2"