Skip to main content
Version: 1.5.0

fix-cert-s3-env-error

🐛 Bug Fixes​

Name the CERT_S3_* variables when the certificate bucket config is empty​

Goal: A missing certificate bucket env var should name that variable, not the internal config field.

Solution: The validation error replaces bucket, endpoint, s3Region, accessKeyId and secretAccessKey with CERT_S3_BUCKET, CERT_S3_ENDPOINT, CERT_S3_REGION, CERT_S3_ACCESS_KEY_ID and CERT_S3_SECRET_ACCESS_KEY.

Files Modified:

  • src/core/config/certificate-queue.config.ts — map Joi paths to env names
  • src/core/config/certificate-queue.config.spec.ts — assert the names in the error