I'm trying to find an example of how to use creden...
# beginners-need-help
j
I'm trying to find an example of how to use credentials for a kedro project. Where is the recommended place to initialize something like an api client for pipelines?
Copy code
from kedro.config import ConfigLoader, MissingConfigException

conf_paths = ["conf/base", "conf/local"]
conf_loader = ConfigLoader(conf_paths)

try:
    credentials = conf_loader.get("credentials*", "credentials*/**")
except MissingConfigException:
    credentials = {}