Below is my configuration in Backstage:
auth:
environment: development
providers:
gitlab:
development:
clientId: ${AUTH_GITLAB_CLIENT_ID}
clientSecret: ${AUTH_GITLAB_CLIENT_SECRET}
I'm relatively new to configurations. How can I edit AUTH_GITLAB_CLIENT_ID to add a value to it? I have seen a method where values are passed during start up like this:
# navigating to the root of the Backstage repo
» cd packages/backend
» env AUTH_GITHUB_CLIENT_ID=eafc816045b5533ba581 AUTH_GITHUB_CLIENT_SECRET=34922f6547991760e8f5219a529a9c00b0fd44ea yarn start
However, I do not want to manually set it up every time I start. I believe there should be a secrets file somewhere, but I am unsure where to locate it?
UPDATE: Although using a .sh file is an option, I have decided to store all my keys in my app-config.local.yaml file and include it in my .gitignore file.