chat-web .sops.yaml file

.sops.yaml file reflects which encryption method we are going to use for viewing/encrypting/decrypting environment-specific secrets.

Inside the .sops.yaml file you will find a structure like this one:

creation_rules:
  # Using PGP key Example
  - path_regex: vars/sandbox/secrets.yaml
    pgp: "619C5EBF138647986D7141E049274611FA702E84"
  # Using a KMS key Example
  - path_regex: vars/sandbox/secrets.yaml
    kms: "arn:aws:kms:us-east-1:**_account_id_**:key/sandbox_kms_id"
  # Using a Azure key Vault key Example
  - path_regex: vars/sandbox/secrets.yaml
    azure_keyvault: https://xyz.vault.azure.net/keys/sops-key/xxxxx

Edit and perform changes as required by your especific environment configuration. path_regex parameter lets you configure different sets of secrets & keys for different environments.

After verifying that the values are correct for your environment, save the file and proceed to the next step.

Last updated