Now you're set up and have an understanding of where you'll be working, let's take a look at configuring your Catwalk.
Most of our configuration for the Catwalks takes place in backend. There's a
config/ inside each of your project folders. These are used to set configurations on a per-project-basis. This
project.yml is the base configuration, which can be overwritten on a per-environment basis. For example, you could overwrite the access credentials for your different connected APIs on
development and on
In order to do so, add a
project.yml.staging to the directory
config/ with the needed overwrites.
Securing production configs
As the production access tokens and configuration of the connected APIs shouldn't be publicly available to everybody on the project, it's recommended to encrypt these configurations if necessary.
The API tokens will of course not be publicly accessible in general, but as they normally lie inside our
project.yml in the
config/ folder and therefore inside the repository, they would be available to everyone who has access to that private repository!
To configure your Content Security Policy (CSP), you'll need to add to your
project.yml. An example of what that could look like is below:
apiKey: configuration: # ... policy: connect-src: - self - 'wss: *' - api.usercentrics.eu # ... script-src: # - ... img-src: # - ... # ...
‹ Back to article list