@govuk-pay/cli 0.0.49 → 0.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -331,6 +331,7 @@ pay-low-pass:
|
|
|
331
331
|
DB_SUPPORT_PASSWORD_READWRITE: aws/rds/support_readwrite_users/staging/ledger_support_readwrite # pragma: allowlist secret
|
|
332
332
|
SENTRY_DSN: sentry_io/ledger_dsn
|
|
333
333
|
products:
|
|
334
|
+
DB_PASSWORD: aws/rds/application_users/staging/products
|
|
334
335
|
DB_SUPPORT_PASSWORD_READONLY: aws/rds/support_readonly_users/staging/products_support_readonly # pragma: allowlist secret
|
|
335
336
|
DB_SUPPORT_PASSWORD_READWRITE: aws/rds/support_readwrite_users/staging/products_support_readwrite # pragma: allowlist secret
|
|
336
337
|
SENTRY_DSN: sentry_io/products_dsn
|
|
@@ -344,6 +345,7 @@ pay-low-pass:
|
|
|
344
345
|
# the words 'Password Store'. They are not in pay-low-pass, so for now to stop them being overwritten I'm commenting them out
|
|
345
346
|
# TOKEN_API_HMAC_SECRET: ""
|
|
346
347
|
publicauth:
|
|
348
|
+
DB_PASSWORD: aws/rds/application_users/staging/publicauth
|
|
347
349
|
DB_SUPPORT_PASSWORD_READONLY: aws/rds/support_readonly_users/staging/publicauth_support_readonly # pragma: allowlist secret
|
|
348
350
|
DB_SUPPORT_PASSWORD_READWRITE: aws/rds/support_readwrite_users/staging/publicauth_support_readwrite # pragma: allowlist secret
|
|
349
351
|
SENTRY_DSN: sentry_io/publicauth_dsn
|
|
@@ -438,6 +440,7 @@ pay-low-pass:
|
|
|
438
440
|
product-page:
|
|
439
441
|
pager_duty_cloudwatch_integration_url: pager-duty/govuk-pay-product-page/amazon-cloudwatch-integration-url
|
|
440
442
|
products:
|
|
443
|
+
DB_PASSWORD: aws/rds/application_users/production/products
|
|
441
444
|
DB_SUPPORT_PASSWORD_READONLY: aws/rds/support_readonly_users/production/products_support_readonly # pragma: allowlist secret
|
|
442
445
|
DB_SUPPORT_PASSWORD_READWRITE: aws/rds/support_readwrite_users/production/products_support_readwrite # pragma: allowlist secret
|
|
443
446
|
SENTRY_DSN: sentry_io/products_dsn
|
|
@@ -449,6 +452,7 @@ pay-low-pass:
|
|
|
449
452
|
publicapi:
|
|
450
453
|
SENTRY_DSN: sentry_io/publicapi_dsn
|
|
451
454
|
publicauth:
|
|
455
|
+
DB_PASSWORD: aws/rds/application_users/production/publicauth
|
|
452
456
|
DB_SUPPORT_PASSWORD_READONLY: aws/rds/support_readonly_users/production/publicauth_support_readonly # pragma: allowlist secret
|
|
453
457
|
DB_SUPPORT_PASSWORD_READWRITE: aws/rds/support_readwrite_users/production/publicauth_support_readwrite # pragma: allowlist secret
|
|
454
458
|
SENTRY_DSN: sentry_io/publicauth_dsn
|
package/src/commands/tunnel.js
CHANGED
|
@@ -443,7 +443,7 @@ async function getDbUser(environment, application, dbAccessType) {
|
|
|
443
443
|
}
|
|
444
444
|
else {
|
|
445
445
|
printError('Unable to get database username from Parameter Store');
|
|
446
|
-
|
|
446
|
+
throw new Error(`The parameter store parameter ${paramName} is missing in ${environment}`);
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
function getPayLowPassDbSecretName(environment, user, dbAccessType) {
|