chat-server .sops.yaml file
.sops.yaml file reflects which encryption method we are going to use for viewing/encrypting/decrypting environment-specific configuration variables stored as encrypted 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/xxxxxEdit 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 environement, save the file and proceed to the next step.
Last updated