Secrets
Frequently in your workflows you will need to use Pieces that require a secret variable. For example, you may need to use a Piece to fetch data from an API that requires a Bearer token. In these cases, you will need to set the secret variables to the Piece Repository the Piece belongs to. In Domino, the secrets with same name are shared between Pieces from the same repository, so you only need to set the secret once. Example: Two Pieces with API_KEY
secret means that both Pieces will use the same value for this variable.
To edit a Piece Repository secret, do the following:
- Go to your Workspace configuration page.
- Click on the
Edit repository secrets
icon on the desired repository. This will open the list of secrets for that repository. - Click on the
Edit
icon on the desired secret and fill the value you want. - Click on
Save
button.
Done! Now all Pieces that need to use this secret will have access to the value you set.