I) Description

To run CI/CD workflows, it is necessary to provide secrets.

1. Secrets of the pricing-app repo

Secret name Purpose Current value
AWS_ACCESS_KEY_ID AWS Access Key ID - this should be the IAM User credentials in the AWS Management account with Admin permission <secret>
AWS_SECRET_ACCESS_KEY AWS Secret Access Key - this should be the IAM User credentials in the AWS Management account with Admin permission <secret>
AWS_REGION AWS Region eu-west-3
DEV_REACT_APP_PRICING_API_URL Value of REACT_APP_PRICING_API_URL when on workflow is on dev branch
https://api-pricing-dev.evalucar.com
PROD_REACT_APP_PRICING_API_URL Value of REACT_APP_PRICING_API_URL when on workflow is on main branch https://api-pricing.evalucar.com
STAGING_REACT_APP_PRICING_API_URL Value of REACT_APP_PRICING_API_URL when on workflow is on staging branch https://api-pricing-staging.evalucar.com
GH_PAT Github Personal Access Token - this should have permission to clone repo <secret>

2. Secrets of the esign-app repo

Secret name Purpose Current value
AWS_ACCESS_KEY_ID AWS Access Key ID - this should be the IAM User credentials in the AWS Management account with Admin permission <secret>
AWS_SECRET_ACCESS_KEY AWS Secret Access Key - this should be the IAM User credentials in the AWS Management account with Admin permission <secret>
AWS_REGION AWS Region eu-west-3
DEV_REACT_APP_ESIGN_API_URL Value of REACT_APP_PRICING_API_URL when on workflow is on dev branch https://api-pricing-dev.evalucar.com
PROD_REACT_APP_ESIGN_API_URL Value of REACT_APP_PRICING_API_URL when on workflow is on main branch https://api-pricing.evalucar.com
STAGING_REACT_APP_ESIGN_API_URL Value of REACT_APP_PRICING_API_URL when on workflow is on staging branch https://api-pricing-staging.evalucar.com
GH_PAT Github Personal Access Token - this should have permission to clone repo <secret>

3. Secrets of the pricing-api repo

Secret name Purpose Current value
AWS_ACCESS_KEY_ID AWS Access Key ID - this should be the IAM User credentials in the AWS Management account with Admin permission<secret> <secret>
AWS_SECRET_ACCESS_KEY AWS Secret Access Key - this should be the IAM User credentials in the AWS Management account with Admin permission <secret>
AWS_REGION AWS Region - Current value is eu-west-3 eu-west-3
GH_PAT Github Personal Access Token - this should have permission to clone repo <secret>

4. Secrets of the esign-api repo

Secret name Purpose Current value
AWS_ACCESS_KEY_ID AWS Access Key ID - this should be the IAM User credentials in the AWS Management account with Admin permission <secret>
AWS_SECRET_ACCESS_KEY AWS Secret Access Key - this should be the IAM User credentials in the AWS Management account with Admin permission <secret>
AWS_REGION AWS Region - Current value is eu-west-3 eu-west-3
GH_PAT Github Personal Access Token - this should have permission to clone repo <secret>

II) How to update Github secrets

  1. Go to any repo in Github
  2. Visit the Settings tab
  3. Click on the Secrets as shown in the screenshot)

Untitled

  1. Click on Update button and update the value of secret