Bjarne Hiller
05/04/2026, 3:37 PMconf/local/credentials.yml to set a username and password, which is used to download a dataset. As intented, I am not commiting this file to version control. However, now my colleagues cannot run any pipeline without adding a dummy conf/local/credentials.yml file first, even when the credentials are not needed for that pipeline, as kedro fails to resolve those credentials. Ideally, I would like the option to add default Credentials, i.e., which are read from env vars, which are overwritten if the conf/local/credentials.yml file is available. What is the right approach here?Ravi Kumar Pilla
05/04/2026, 7:13 PMHowever, now my colleagues cannot run any pipeline without adding a dummyThis is a known behaviorfile first, even when the credentials are not needed for that pipeline, as kedro fails to resolve those credentials.conf/local/credentials.yml
Ideally, I would like the option to add default Credentials, i.e., which are read from env varsCan you try the pattern where there is a base credentials file which gets env defaults and will be overriden by local ?
# conf/base/credentials.yml
dataset_auth:
username: ${oc.env:DATASET_USERNAME, null}
password: ${oc.env:DATASET_PASSWORD, null}
# conf/local/credentials.yml
dataset_auth:
username: my-real-username
password: my-real-passwordRavi Kumar Pilla
05/04/2026, 7:13 PMRavi Kumar Pilla
05/04/2026, 7:14 PMBjarne Hiller
05/05/2026, 7:58 AM