@govuk-pay/cli 0.0.52 → 0.0.53
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 +2 -1
- package/src/commands/secrets/config/config.types.js +45 -0
- package/src/commands/secrets/config/secrets/pay_low_pass/deploy-7.js +9 -0
- package/src/commands/secrets/config/secrets/pay_low_pass/deploy-tooling.js +18 -0
- package/src/commands/secrets/config/secrets/pay_low_pass/deploy.js +64 -0
- package/src/commands/secrets/config/secrets/pay_low_pass/dev.js +13 -0
- package/src/commands/secrets/config/secrets/pay_low_pass/production-2.js +104 -0
- package/src/commands/secrets/config/secrets/pay_low_pass/production.js +8 -0
- package/src/commands/secrets/config/secrets/pay_low_pass/staging-2.js +98 -0
- package/src/commands/secrets/config/secrets/pay_low_pass/staging.js +8 -0
- package/src/commands/secrets/config/secrets/pay_low_pass/test-12.js +101 -0
- package/src/commands/secrets/config/secrets/pay_low_pass/test-perf-1.js +98 -0
- package/src/commands/secrets/config/secrets/pay_low_pass/test.js +13 -0
- package/src/commands/secrets/config/secrets/pay_low_pass.js +27 -0
- package/src/commands/secrets/config/secrets/ssm.js +4 -0
- package/src/commands/secrets/config/secrets/value/deploy-tooling.js +10 -0
- package/src/commands/secrets/config/secrets/value/deploy.js +20 -0
- package/src/commands/secrets/config/secrets/value/production-2.js +45 -0
- package/src/commands/secrets/config/secrets/value/staging-2.js +47 -0
- package/src/commands/secrets/config/secrets/value/test-12.js +47 -0
- package/src/commands/secrets/config/secrets/value/test-perf-1.js +49 -0
- package/src/commands/secrets/config/secrets/value.js +17 -0
- package/src/commands/secrets/config/secrets.js +83 -0
- package/src/commands/secrets/config/service_secrets.js +238 -0
- package/src/commands/secrets/providers/factory.js +36 -0
- package/src/commands/secrets/providers/pass_repo.js +65 -0
- package/src/commands/secrets/providers/providers.types.js +21 -0
- package/src/commands/secrets/providers/ssm.js +155 -0
- package/src/commands/secrets/providers/value.js +10 -0
- package/src/commands/secrets/subcommands/audit.js +41 -9
- package/src/commands/secrets/subcommands/fetch.js +36 -15
- package/src/commands/secrets/subcommands/provision.js +99 -7
- package/src/commands/secrets.js +1 -1
- package/src/core/standardContent.js +5 -1
- package/src/util/configs.js +7 -1
- package/src/commands/secrets/subcommands/copy.js +0 -35
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@govuk-pay/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.53",
|
|
4
4
|
"description": "GOV.UK Pay Command Line Interface",
|
|
5
5
|
"bin": {
|
|
6
6
|
"pay": "bin/cli.js",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"@aws-sdk/client-rds": "^3.709.0",
|
|
20
20
|
"@aws-sdk/client-ssm": "^3.709.0",
|
|
21
21
|
"@aws-sdk/client-sts": "^3.709.0",
|
|
22
|
+
"cli-table3": "^0.6.5",
|
|
22
23
|
"handlebars": "^4.7.8",
|
|
23
24
|
"openurl": "^1.1.1",
|
|
24
25
|
"semver": "^7.6.3",
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SERVICE_NAMES = exports.ENVIRONMENT_NAMES = exports.SECRET_SOURCES = void 0;
|
|
4
|
+
exports.SECRET_SOURCES = ['ssm', 'pay-low-pass', 'value'];
|
|
5
|
+
exports.ENVIRONMENT_NAMES = [
|
|
6
|
+
'deploy',
|
|
7
|
+
'deploy-7',
|
|
8
|
+
'deploy-tooling',
|
|
9
|
+
'dev',
|
|
10
|
+
'production',
|
|
11
|
+
'production-2',
|
|
12
|
+
'staging',
|
|
13
|
+
'staging-2',
|
|
14
|
+
'test',
|
|
15
|
+
'test-12',
|
|
16
|
+
'test-perf-1'
|
|
17
|
+
];
|
|
18
|
+
exports.SERVICE_NAMES = [
|
|
19
|
+
'adminusers',
|
|
20
|
+
'alb_and_s3_logging_pipeline',
|
|
21
|
+
'amazon-managed-prometheus',
|
|
22
|
+
'cardid',
|
|
23
|
+
'cd-main',
|
|
24
|
+
'cd-pay-deploy',
|
|
25
|
+
'cd-pay-dev',
|
|
26
|
+
'codebuild',
|
|
27
|
+
'connector',
|
|
28
|
+
'deploy',
|
|
29
|
+
'frontend',
|
|
30
|
+
'ledger',
|
|
31
|
+
'network',
|
|
32
|
+
'pact-broker',
|
|
33
|
+
'pact-broker-auth',
|
|
34
|
+
'product-page',
|
|
35
|
+
'products',
|
|
36
|
+
'products-ui',
|
|
37
|
+
'publicapi',
|
|
38
|
+
'publicauth',
|
|
39
|
+
'selfservice',
|
|
40
|
+
'stubs',
|
|
41
|
+
'toolbox',
|
|
42
|
+
'webhooks',
|
|
43
|
+
'webhooks_intrusion_monitoring',
|
|
44
|
+
'worldpay_secure_file_gateway'
|
|
45
|
+
];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DEPLOY_7_CONFIG = void 0;
|
|
4
|
+
exports.DEPLOY_7_CONFIG = {
|
|
5
|
+
deploy: {
|
|
6
|
+
PAGER_DUTY_CLOUDWATCH_INTEGRATION_URL: 'pager-duty/govuk-pay/amazon-cloudwatch-integration-url',
|
|
7
|
+
PAGER_DUTY_CLOUDWATCH_INTEGRATION_URL_STAGING: 'pager-duty/govuk-pay-staging-smoke-tests/amazon-cloudwatch-integration-url'
|
|
8
|
+
}
|
|
9
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DEPLOY_TOOLING_CONFIG = void 0;
|
|
4
|
+
exports.DEPLOY_TOOLING_CONFIG = {
|
|
5
|
+
'pact-broker': {
|
|
6
|
+
master_db_user: 'aws/rds/superuser/deploy-tooling/pact-broker/username',
|
|
7
|
+
master_db_password: 'aws/rds/superuser/deploy-tooling/pact-broker/password', // pragma: allowlist secret
|
|
8
|
+
DB_PASSWORD: 'aws/rds/application_users/deploy/pact_broker', // pragma: allowlist secret
|
|
9
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/deploy/pact_broker_support_readonly', // pragma: allowlist secret
|
|
10
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/deploy/pact_broker_support_readwrite' // pragma: allowlist secret
|
|
11
|
+
},
|
|
12
|
+
stubs: {
|
|
13
|
+
'smartpay-expected-password': 'pay-stubs/smartpay/expected-password', // pragma: allowlist secret
|
|
14
|
+
'smartpay-expected-user': 'pay-stubs/smartpay/expected-user',
|
|
15
|
+
'worldpay-expected-password': 'pay-stubs/worldpay/expected-password', // pragma: allowlist secret
|
|
16
|
+
'worldpay-expected-user': 'pay-stubs/worldpay/expected-user'
|
|
17
|
+
}
|
|
18
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DEPLOY_CONFIG = void 0;
|
|
4
|
+
exports.DEPLOY_CONFIG = {
|
|
5
|
+
worldpay_secure_file_gateway: {
|
|
6
|
+
'private-key': 'worldpay/secure_file_gateway/worldpay_secure_file_gateway.rsa',
|
|
7
|
+
'public-key': 'worldpay/secure_file_gateway/worldpay_secure_file_gateway.rsa.pub',
|
|
8
|
+
passphrase: 'worldpay/secure_file_gateway/passphrase'
|
|
9
|
+
},
|
|
10
|
+
alb_and_s3_logging_pipeline: {
|
|
11
|
+
firehose_hec_token: 'splunk/firehose-hec-token'
|
|
12
|
+
},
|
|
13
|
+
'amazon-managed-prometheus': {
|
|
14
|
+
pager_duty_cloudwatch_integration_url_in_hours_only: 'pager-duty/govuk-pay-in-hours-only/amazon-cloudwatch-integration-url',
|
|
15
|
+
pager_duty_cloudwatch_integration_url_24_7_p1: 'pager-duty/govuk-pay/amazon-cloudwatch-integration-url'
|
|
16
|
+
},
|
|
17
|
+
'cd-pay-deploy': {
|
|
18
|
+
'docker-email': 'dockerhub/concourse-email',
|
|
19
|
+
'docker-username': 'dockerhub/concourse-username',
|
|
20
|
+
'docker-password': 'dockerhub/concourse-password', // pragma: allowlist secret
|
|
21
|
+
'docker-access-token': 'dockerhub/concourse-access-token',
|
|
22
|
+
'end-to-end/docker-email': 'dockerhub/concourse-email',
|
|
23
|
+
'end-to-end/docker-password': 'dockerhub/concourse-password', // pragma: allowlist secret
|
|
24
|
+
'end-to-end/docker-username': 'dockerhub/concourse-username',
|
|
25
|
+
'end-to-end/docker-access-token': 'dockerhub/concourse-access-token',
|
|
26
|
+
'github-access-token': 'alphagov-pay-ci-concourse/github.com-concourse-github-personal-access-token',
|
|
27
|
+
'grafana-annotations-password': 'concourse/grafana_annotations', // pragma: allowlist secret
|
|
28
|
+
'pact-broker-password': 'pact/pact_broker_password', // pragma: allowlist secret
|
|
29
|
+
'pact-broker-username': 'pact/pact_broker_username',
|
|
30
|
+
'pact-broker/pact-broker-password': 'pact/pact_broker_password', // pragma: allowlist secret
|
|
31
|
+
'pact-broker/pact-broker-username': 'pact/pact_broker_username',
|
|
32
|
+
'slack-notification-secret': 'slack/notification-secret', // pragma: allowlist secret
|
|
33
|
+
'internal-vulnerability-scan/jira-api-username': 'jira/concourse-ci/username',
|
|
34
|
+
'internal-vulnerability-scan/jira-api-token': 'jira/concourse-ci/internal-vulnerability-scan/api-token'
|
|
35
|
+
},
|
|
36
|
+
'cd-pay-dev': {
|
|
37
|
+
'docker-email': 'dockerhub/concourse-email',
|
|
38
|
+
'docker-username': 'dockerhub/concourse-username',
|
|
39
|
+
'docker-password': 'dockerhub/concourse-password', // pragma: allowlist secret
|
|
40
|
+
'docker-access-token': 'dockerhub/concourse-access-token',
|
|
41
|
+
'github-access-token': 'alphagov-pay-ci-concourse/github.com-concourse-github-personal-access-token',
|
|
42
|
+
'grafana-annotations-password': 'concourse/grafana_annotations', // pragma: allowlist secret
|
|
43
|
+
'pact-broker-password': 'pact/pact_broker_password', // pragma: allowlist secret
|
|
44
|
+
'pact-broker-username': 'pact/pact_broker_username',
|
|
45
|
+
'pay-js-commons/github-access-token': 'alphagov-pay-ci-concourse/github.com-concourse-github-personal-access-token',
|
|
46
|
+
'pr-ci/github-access-token': 'alphagov-pay-ci-concourse/github.com-concourse-github-personal-access-token',
|
|
47
|
+
'slack-notification-secret': 'slack/notification-secret', // pragma: allowlist secret
|
|
48
|
+
'smartpay-expected-password': 'pay-stubs/smartpay/expected-password', // pragma: allowlist secret
|
|
49
|
+
'smartpay-expected-user': 'pay-stubs/smartpay/expected-user',
|
|
50
|
+
'worldpay-expected-password': 'pay-stubs/worldpay/expected-password', // pragma: allowlist secret
|
|
51
|
+
'worldpay-expected-user': 'pay-stubs/worldpay/expected-user'
|
|
52
|
+
},
|
|
53
|
+
'cd-main': {
|
|
54
|
+
'docker-email': 'dockerhub/concourse-email',
|
|
55
|
+
'docker-username': 'dockerhub/concourse-username',
|
|
56
|
+
'docker-password': 'dockerhub/concourse-password', // pragma: allowlist secret
|
|
57
|
+
'docker-access-token': 'dockerhub/concourse-access-token',
|
|
58
|
+
'slack-notification-secret': 'slack/notification-secret' // pragma: allowlist secret
|
|
59
|
+
},
|
|
60
|
+
'pact-broker-auth': {
|
|
61
|
+
'pact-broker-basic-auth-password': 'pact/pact_broker_password', // pragma: allowlist secret
|
|
62
|
+
'pact-broker-basic-auth-username': 'pact/pact_broker_username'
|
|
63
|
+
}
|
|
64
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DEV_CONFIG = void 0;
|
|
4
|
+
exports.DEV_CONFIG = {
|
|
5
|
+
alb_and_s3_logging_pipeline: {
|
|
6
|
+
firehose_hec_token: 'splunk/firehose-hec-token'
|
|
7
|
+
},
|
|
8
|
+
codebuild: {
|
|
9
|
+
'docker-username': 'dockerhub/concourse-username',
|
|
10
|
+
'docker-access-token': 'dockerhub/concourse-access-token',
|
|
11
|
+
'github-access-token': 'alphagov-pay-ci-concourse/github.com-concourse-github-personal-access-token'
|
|
12
|
+
}
|
|
13
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PRODUCTION_2_CONFIG = void 0;
|
|
4
|
+
exports.PRODUCTION_2_CONFIG = {
|
|
5
|
+
adminusers: {
|
|
6
|
+
DB_PASSWORD: 'aws/rds/application_users/production/adminusers1', // pragma: allowlist secret
|
|
7
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/production/adminusers_support_readonly', // pragma: allowlist secret
|
|
8
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/production/adminusers_support_readwrite', // pragma: allowlist secret
|
|
9
|
+
NOTIFY_API_KEY: 'notify/api_key/deploy/production.adminusers.notify_api_key', // pragma: allowlist secret
|
|
10
|
+
SENTRY_DSN: 'sentry_io/adminusers_dsn'
|
|
11
|
+
},
|
|
12
|
+
cardid: {
|
|
13
|
+
SENTRY_DSN: 'sentry_io/cardid_dsn'
|
|
14
|
+
},
|
|
15
|
+
connector: {
|
|
16
|
+
DB_PASSWORD: 'aws/rds/application_users/production/connector2', // pragma: allowlist secret
|
|
17
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/production/connector_support_readonly', // pragma: allowlist secret
|
|
18
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/production/connector_support_readwrite', // pragma: allowlist secret
|
|
19
|
+
NOTIFY_API_KEY: 'notify/api_key/deploy/production.connector.notify_api_key', // pragma: allowlist secret
|
|
20
|
+
GDS_CONNECTOR_STRIPE_AUTH_TOKEN: 'stripe/production/test/account-api-key',
|
|
21
|
+
GDS_CONNECTOR_STRIPE_AUTH_LIVE_TOKEN: 'stripe/production/live/account-api-key',
|
|
22
|
+
GDS_CONNECTOR_STRIPE_WEBHOOK_SIGN_SECRET: 'stripe/production/test/webhook-secret', // pragma: allowlist secret
|
|
23
|
+
GDS_CONNECTOR_STRIPE_WEBHOOK_LIVE_SIGN_SECRET: 'stripe/production/live/webhook-secret', // pragma: allowlist secret
|
|
24
|
+
GDS_CONNECTOR_STRIPE_CONNECT_APPLICATION_WEBHOOK_LIVE_SIGN_SECRET: 'stripe/production/live/webhook-connect-events-secret', // pragma: allowlist secret
|
|
25
|
+
GDS_CONNECTOR_STRIPE_CONNECT_APPLICATION_WEBHOOK_TEST_SIGN_SECRET: 'stripe/production/test/webhook-connect-events-secret', // pragma: allowlist secret
|
|
26
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE: 'apple_pay/worldpay/production/payment-processing-certificate-20230906',
|
|
27
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_PRIVATE_KEY: 'apple_pay/worldpay/production/payment-processing-private-key-20230906', // pragma: allowlist secret
|
|
28
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE_SECONDARY: 'apple_pay/worldpay/production/payment-processing-certificate-20230906',
|
|
29
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_PRIVATE_KEY_SECONDARY: 'apple_pay/worldpay/production/payment-processing-private-key-20230906', // pragma: allowlist secret
|
|
30
|
+
SENTRY_DSN: 'sentry_io/connector_dsn',
|
|
31
|
+
SANDBOX_AUTH_TOKEN: 'smoke-test-api-token/notifications/production_sandbox_auth_token'
|
|
32
|
+
},
|
|
33
|
+
frontend: {
|
|
34
|
+
WORLDPAY_APPLE_PAY_MERCHANT_ID: 'apple_pay/worldpay/production/merchant-id',
|
|
35
|
+
WORLDPAY_APPLE_PAY_MERCHANT_ID_CERTIFICATE: 'apple_pay/worldpay/production/merchant-id-certificate-20240730',
|
|
36
|
+
WORLDPAY_APPLE_PAY_MERCHANT_ID_CERTIFICATE_KEY: 'apple_pay/worldpay/production/merchant-id-certificate-key-20240730',
|
|
37
|
+
STRIPE_APPLE_PAY_MERCHANT_ID: 'apple_pay/stripe/production/merchant-id',
|
|
38
|
+
STRIPE_APPLE_PAY_MERCHANT_ID_CERTIFICATE: 'apple_pay/stripe/production/merchant-id-certificate-20240730',
|
|
39
|
+
STRIPE_APPLE_PAY_MERCHANT_ID_CERTIFICATE_KEY: 'apple_pay/stripe/production/merchant-id-certificate-key-20240730',
|
|
40
|
+
STRIPE_TEST_PUBLISHABLE_API_KEY: 'stripe/production/test/publishable-api-key', // pragma: allowlist secret
|
|
41
|
+
STRIPE_LIVE_PUBLISHABLE_API_KEY: 'stripe/production/live/publishable-api-key', // pragma: allowlist secret
|
|
42
|
+
SENTRY_DSN: 'sentry/frontend_dsn',
|
|
43
|
+
SENTRY_CSP_REPORT_URI: 'sentry/frontend_csp_report_uri',
|
|
44
|
+
GOOGLE_PAY_MERCHANT_ID: 'google_pay/merchant_identifier',
|
|
45
|
+
GOOGLE_PAY_MERCHANT_ID_2: 'google_pay/merchant_identifier_2'
|
|
46
|
+
},
|
|
47
|
+
ledger: {
|
|
48
|
+
DB_PASSWORD: 'aws/rds/application_users/production/ledger', // pragma: allowlist secret
|
|
49
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/production/ledger_support_readonly', // pragma: allowlist secret
|
|
50
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/production/ledger_support_readwrite', // pragma: allowlist secret
|
|
51
|
+
SENTRY_DSN: 'sentry_io/ledger_dsn'
|
|
52
|
+
},
|
|
53
|
+
network: {
|
|
54
|
+
PAGER_DUTY_CLOUDWATCH_ALB_INTEGRATION_URL: 'pager-duty/govuk-pay-cloudwatch-alb/amazon-cloudwatch-integration-url'
|
|
55
|
+
},
|
|
56
|
+
'product-page': {
|
|
57
|
+
pager_duty_cloudwatch_integration_url: 'pager-duty/govuk-pay-product-page/amazon-cloudwatch-integration-url'
|
|
58
|
+
},
|
|
59
|
+
products: {
|
|
60
|
+
DB_PASSWORD: 'aws/rds/application_users/production/products', // pragma: allowlist secret
|
|
61
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/production/products_support_readonly', // pragma: allowlist secret
|
|
62
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/production/products_support_readwrite', // pragma: allowlist secret
|
|
63
|
+
SENTRY_DSN: 'sentry_io/products_dsn'
|
|
64
|
+
},
|
|
65
|
+
'products-ui': {
|
|
66
|
+
SENTRY_DSN: 'sentry_io/products_ui_dsn',
|
|
67
|
+
GOOGLE_RECAPTCHA_SECRET_KEY: 'google/production/captcha-secret-key', // pragma: allowlist secret
|
|
68
|
+
GOOGLE_RECAPTCHA_SITE_KEY: 'google/production/captcha-site-key',
|
|
69
|
+
GOOGLE_RECAPTCHA_ENTERPRISE_PROJECT_ID: 'google/production/captcha-enterprise-project-id'
|
|
70
|
+
},
|
|
71
|
+
publicapi: {
|
|
72
|
+
SENTRY_DSN: 'sentry_io/publicapi_dsn'
|
|
73
|
+
},
|
|
74
|
+
publicauth: {
|
|
75
|
+
DB_PASSWORD: 'aws/rds/application_users/production/publicauth', // pragma: allowlist secret
|
|
76
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/production/publicauth_support_readonly', // pragma: allowlist secret
|
|
77
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/production/publicauth_support_readwrite', // pragma: allowlist secret
|
|
78
|
+
SENTRY_DSN: 'sentry_io/publicauth_dsn'
|
|
79
|
+
},
|
|
80
|
+
selfservice: {
|
|
81
|
+
ZENDESK_API_KEY: 'zendesk/api_key', // pragma: allowlist secret
|
|
82
|
+
ZENDESK_USER: 'zendesk/user',
|
|
83
|
+
STRIPE_ACCOUNT_API_KEY: 'stripe/production/live/account-api-key', // pragma: allowlist secret
|
|
84
|
+
SENTRY_DSN: 'sentry/selfservice_dsn'
|
|
85
|
+
},
|
|
86
|
+
toolbox: {
|
|
87
|
+
AUTH_GITHUB_CLIENT_ID: 'pay-toolbox/production/github_client_id',
|
|
88
|
+
AUTH_GITHUB_CLIENT_SECRET: 'pay-toolbox/production/github_client_secret', // pragma: allowlist secret
|
|
89
|
+
STRIPE_ACCOUNT_API_KEY: 'stripe/production/live/account-api-key', // pragma: allowlist secret
|
|
90
|
+
STRIPE_ACCOUNT_TEST_API_KEY: 'stripe/production/test/account-api-key', // pragma: allowlist secret
|
|
91
|
+
SENTRY_DSN: 'sentry/toolbox_dsn',
|
|
92
|
+
ZENDESK_API_KEY: 'zendesk/api_key', // pragma: allowlist secret
|
|
93
|
+
ZENDESK_USER: 'zendesk/user'
|
|
94
|
+
},
|
|
95
|
+
webhooks: {
|
|
96
|
+
DB_PASSWORD: 'aws/rds/application_users/production/webhooks', // pragma: allowlist secret
|
|
97
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/production/webhooks_support_readonly', // pragma: allowlist secret
|
|
98
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/production/webhooks_support_readwrite', // pragma: allowlist secret
|
|
99
|
+
SENTRY_DSN: 'sentry_io/webhooks_dsn'
|
|
100
|
+
},
|
|
101
|
+
webhooks_intrusion_monitoring: {
|
|
102
|
+
pager_duty_cloudwatch_integration_url: 'pager-duty/govuk-pay/amazon-cloudwatch-integration-url'
|
|
103
|
+
}
|
|
104
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.STAGING_2_CONFIG = void 0;
|
|
4
|
+
exports.STAGING_2_CONFIG = {
|
|
5
|
+
adminusers: {
|
|
6
|
+
DB_PASSWORD: 'aws/rds/application_users/staging/adminusers1', // pragma: allowlist secret
|
|
7
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/staging/adminusers_support_readonly', // pragma: allowlist secret
|
|
8
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/staging/adminusers_support_readwrite', // pragma: allowlist secret
|
|
9
|
+
NOTIFY_API_KEY: 'notify/api_key/deploy/staging.adminusers.notify_api_key', // pragma: allowlist secret
|
|
10
|
+
SENTRY_DSN: 'sentry_io/adminusers_dsn'
|
|
11
|
+
},
|
|
12
|
+
cardid: {
|
|
13
|
+
SENTRY_DSN: 'sentry_io/cardid_dsn'
|
|
14
|
+
},
|
|
15
|
+
connector: {
|
|
16
|
+
DB_PASSWORD: 'aws/rds/application_users/staging/connector1', // pragma: allowlist secret
|
|
17
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/staging/connector_support_readonly', // pragma: allowlist secret
|
|
18
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/staging/connector_support_readwrite', // pragma: allowlist secret
|
|
19
|
+
NOTIFY_API_KEY: 'notify/api_key/deploy/staging.connector.notify_api_key', // pragma: allowlist secret
|
|
20
|
+
GDS_CONNECTOR_STRIPE_AUTH_TOKEN: 'stripe/staging/test/account-api-key',
|
|
21
|
+
GDS_CONNECTOR_STRIPE_AUTH_LIVE_TOKEN: 'stripe/staging/test/account-api-key',
|
|
22
|
+
GDS_CONNECTOR_STRIPE_WEBHOOK_SIGN_SECRET: 'stripe/staging/test/webhook-secret', // pragma: allowlist secret
|
|
23
|
+
GDS_CONNECTOR_STRIPE_WEBHOOK_LIVE_SIGN_SECRET: 'stripe/staging/test/webhook-secret', // pragma: allowlist secret
|
|
24
|
+
GDS_CONNECTOR_STRIPE_CONNECT_APPLICATION_WEBHOOK_LIVE_SIGN_SECRET: 'stripe/staging/test/webhook-connect-events-secret', // pragma: allowlist secret
|
|
25
|
+
GDS_CONNECTOR_STRIPE_CONNECT_APPLICATION_WEBHOOK_TEST_SIGN_SECRET: 'stripe/staging/test/webhook-connect-events-secret', // pragma: allowlist secret
|
|
26
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE: 'apple_pay/worldpay/test/payment-processing-certificate-20230906',
|
|
27
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_PRIVATE_KEY: 'apple_pay/worldpay/test/payment-processing-private-key-20230906', // pragma: allowlist secret
|
|
28
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE_SECONDARY: 'apple_pay/worldpay/test/payment-processing-certificate-20230906',
|
|
29
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_PRIVATE_KEY_SECONDARY: 'apple_pay/worldpay/test/payment-processing-private-key-20230906', // pragma: allowlist secret
|
|
30
|
+
SENTRY_DSN: 'sentry_io/connector_dsn',
|
|
31
|
+
SANDBOX_AUTH_TOKEN: 'smoke-test-api-token/notifications/staging_sandbox_auth_token'
|
|
32
|
+
},
|
|
33
|
+
frontend: {
|
|
34
|
+
WORLDPAY_APPLE_PAY_MERCHANT_ID: 'apple_pay/worldpay/test/merchant-id',
|
|
35
|
+
WORLDPAY_APPLE_PAY_MERCHANT_ID_CERTIFICATE: 'apple_pay/worldpay/test/merchant-id-certificate-20230905',
|
|
36
|
+
WORLDPAY_APPLE_PAY_MERCHANT_ID_CERTIFICATE_KEY: 'apple_pay/worldpay/test/merchant-id-certificate-key-20230905',
|
|
37
|
+
STRIPE_APPLE_PAY_MERCHANT_ID: 'apple_pay/stripe/staging/merchant-id',
|
|
38
|
+
STRIPE_APPLE_PAY_MERCHANT_ID_CERTIFICATE: 'apple_pay/stripe/staging/merchant-id-certificate-20230823',
|
|
39
|
+
STRIPE_APPLE_PAY_MERCHANT_ID_CERTIFICATE_KEY: 'apple_pay/stripe/staging/merchant-id-certificate-key-20230823',
|
|
40
|
+
STRIPE_TEST_PUBLISHABLE_API_KEY: 'stripe/staging/test/publishable-api-key', // pragma: allowlist secret
|
|
41
|
+
STRIPE_LIVE_PUBLISHABLE_API_KEY: 'stripe/staging/test/publishable-api-key', // pragma: allowlist secret
|
|
42
|
+
SENTRY_DSN: 'sentry/frontend_dsn',
|
|
43
|
+
SENTRY_CSP_REPORT_URI: 'sentry/frontend_csp_report_uri'
|
|
44
|
+
},
|
|
45
|
+
ledger: {
|
|
46
|
+
DB_PASSWORD: 'aws/rds/application_users/staging/ledger', // pragma: allowlist secret
|
|
47
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/staging/ledger_support_readonly', // pragma: allowlist secret
|
|
48
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/staging/ledger_support_readwrite', // pragma: allowlist secret
|
|
49
|
+
SENTRY_DSN: 'sentry_io/ledger_dsn'
|
|
50
|
+
},
|
|
51
|
+
products: {
|
|
52
|
+
DB_PASSWORD: 'aws/rds/application_users/staging/products', // pragma: allowlist secret
|
|
53
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/staging/products_support_readonly', // pragma: allowlist secret
|
|
54
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/staging/products_support_readwrite', // pragma: allowlist secret
|
|
55
|
+
SENTRY_DSN: 'sentry_io/products_dsn'
|
|
56
|
+
},
|
|
57
|
+
'products-ui': {
|
|
58
|
+
SENTRY_DSN: 'sentry_io/products_ui_dsn',
|
|
59
|
+
GOOGLE_RECAPTCHA_SECRET_KEY: 'google/test/captcha-secret-key', // pragma: allowlist secret
|
|
60
|
+
GOOGLE_RECAPTCHA_SITE_KEY: 'google/test/captcha-site-key'
|
|
61
|
+
},
|
|
62
|
+
publicapi: {
|
|
63
|
+
SENTRY_DSN: 'sentry_io/publicapi_dsn'
|
|
64
|
+
},
|
|
65
|
+
publicauth: {
|
|
66
|
+
DB_PASSWORD: 'aws/rds/application_users/staging/publicauth', // pragma: allowlist secret
|
|
67
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/staging/publicauth_support_readonly', // pragma: allowlist secret
|
|
68
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/staging/publicauth_support_readwrite', // pragma: allowlist secret
|
|
69
|
+
SENTRY_DSN: 'sentry_io/publicauth_dsn'
|
|
70
|
+
},
|
|
71
|
+
'product-page': {
|
|
72
|
+
pager_duty_cloudwatch_integration_url: 'pager-duty/govuk-pay-product-page/amazon-cloudwatch-integration-url'
|
|
73
|
+
},
|
|
74
|
+
selfservice: {
|
|
75
|
+
ZENDESK_API_KEY: 'zendesk/api_key', // pragma: allowlist secret
|
|
76
|
+
ZENDESK_USER: 'zendesk/user',
|
|
77
|
+
STRIPE_ACCOUNT_API_KEY: 'stripe/staging/test/account-api-key', // pragma: allowlist secret
|
|
78
|
+
SENTRY_DSN: 'sentry/selfservice_dsn'
|
|
79
|
+
},
|
|
80
|
+
toolbox: {
|
|
81
|
+
AUTH_GITHUB_CLIENT_ID: 'pay-toolbox/staging/github_client_id',
|
|
82
|
+
AUTH_GITHUB_CLIENT_SECRET: 'pay-toolbox/staging/github_client_secret', // pragma: allowlist secret
|
|
83
|
+
STRIPE_ACCOUNT_API_KEY: 'stripe/staging/test/account-api-key', // pragma: allowlist secret
|
|
84
|
+
STRIPE_ACCOUNT_TEST_API_KEY: 'stripe/staging/test/account-api-key', // pragma: allowlist secret
|
|
85
|
+
SENTRY_DSN: 'sentry/toolbox_dsn',
|
|
86
|
+
ZENDESK_API_KEY: 'zendesk/api_key', // pragma: allowlist secret
|
|
87
|
+
ZENDESK_USER: 'zendesk/user'
|
|
88
|
+
},
|
|
89
|
+
webhooks: {
|
|
90
|
+
DB_PASSWORD: 'aws/rds/application_users/staging/webhooks', // pragma: allowlist secret
|
|
91
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/staging/webhooks_support_readonly', // pragma: allowlist secret
|
|
92
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/staging/webhooks_support_readwrite', // pragma: allowlist secret
|
|
93
|
+
SENTRY_DSN: 'sentry_io/webhooks_dsn'
|
|
94
|
+
},
|
|
95
|
+
webhooks_intrusion_monitoring: {
|
|
96
|
+
pager_duty_cloudwatch_integration_url: 'pager-duty/govuk-pay-staging-webhooks/amazon-cloudwatch-integration-url'
|
|
97
|
+
}
|
|
98
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TEST_12_CONFIG = void 0;
|
|
4
|
+
exports.TEST_12_CONFIG = {
|
|
5
|
+
adminusers: {
|
|
6
|
+
DB_PASSWORD: 'aws/rds/application_users/test/adminusers1', // pragma: allowlist secret
|
|
7
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/test/adminusers_support_readonly', // pragma: allowlist secret
|
|
8
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/test/adminusers_support_readwrite', // pragma: allowlist secret
|
|
9
|
+
NOTIFY_API_KEY: 'notify/api_key/ci/test.adminusers.notify_api_key', // pragma: allowlist secret
|
|
10
|
+
SENTRY_DSN: 'sentry_io/adminusers_dsn'
|
|
11
|
+
},
|
|
12
|
+
cardid: {
|
|
13
|
+
SENTRY_DSN: 'sentry_io/cardid_dsn'
|
|
14
|
+
},
|
|
15
|
+
connector: {
|
|
16
|
+
DB_PASSWORD: 'aws/rds/application_users/test/connector2', // pragma: allowlist secret
|
|
17
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/test/connector_support_readonly', // pragma: allowlist secret
|
|
18
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/test/connector_support_readwrite', // pragma: allowlist secret
|
|
19
|
+
NOTIFY_API_KEY: 'notify/api_key/ci/test.connector.notify_api_key', // pragma: allowlist secret
|
|
20
|
+
GDS_CONNECTOR_STRIPE_AUTH_TOKEN: 'stripe/test/test/account-api-key',
|
|
21
|
+
GDS_CONNECTOR_STRIPE_AUTH_LIVE_TOKEN: 'stripe/test/test/account-api-key',
|
|
22
|
+
GDS_CONNECTOR_STRIPE_WEBHOOK_SIGN_SECRET: 'stripe/test/test/webhook-secret', // pragma: allowlist secret
|
|
23
|
+
GDS_CONNECTOR_STRIPE_WEBHOOK_LIVE_SIGN_SECRET: 'stripe/test/test/webhook-secret', // pragma: allowlist secret
|
|
24
|
+
GDS_CONNECTOR_STRIPE_CONNECT_APPLICATION_WEBHOOK_LIVE_SIGN_SECRET: 'stripe/test/test/webhook-connect-events-secret', // pragma: allowlist secret
|
|
25
|
+
GDS_CONNECTOR_STRIPE_CONNECT_APPLICATION_WEBHOOK_TEST_SIGN_SECRET: 'stripe/test/test/webhook-connect-events-secret', // pragma: allowlist secret
|
|
26
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE: 'apple_pay/worldpay/test/payment-processing-certificate-20230906',
|
|
27
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_PRIVATE_KEY: 'apple_pay/worldpay/test/payment-processing-private-key-20230906', // pragma: allowlist secret
|
|
28
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE_SECONDARY: 'apple_pay/worldpay/test/payment-processing-certificate-20230906',
|
|
29
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_PRIVATE_KEY_SECONDARY: 'apple_pay/worldpay/test/payment-processing-private-key-20230906', // pragma: allowlist secret
|
|
30
|
+
SENTRY_DSN: 'sentry_io/connector_dsn',
|
|
31
|
+
SANDBOX_AUTH_TOKEN: 'smoke-test-api-token/notifications/test_sandbox_auth_token'
|
|
32
|
+
},
|
|
33
|
+
frontend: {
|
|
34
|
+
SESSION_ENCRYPTION_KEY: '',
|
|
35
|
+
SESSION_ENCRYPTION_KEY_2: '',
|
|
36
|
+
WORLDPAY_APPLE_PAY_MERCHANT_ID: 'apple_pay/worldpay/test/merchant-id',
|
|
37
|
+
WORLDPAY_APPLE_PAY_MERCHANT_ID_CERTIFICATE: 'apple_pay/worldpay/test/merchant-id-certificate-20240730',
|
|
38
|
+
WORLDPAY_APPLE_PAY_MERCHANT_ID_CERTIFICATE_KEY: 'apple_pay/worldpay/test/merchant-id-certificate-key-20240730',
|
|
39
|
+
STRIPE_APPLE_PAY_MERCHANT_ID: 'apple_pay/stripe/test/merchant-id',
|
|
40
|
+
STRIPE_APPLE_PAY_MERCHANT_ID_CERTIFICATE: 'apple_pay/stripe/test/merchant-id-certificate-20240730',
|
|
41
|
+
STRIPE_APPLE_PAY_MERCHANT_ID_CERTIFICATE_KEY: 'apple_pay/stripe/test/merchant-id-certificate-key-20240730',
|
|
42
|
+
STRIPE_TEST_PUBLISHABLE_API_KEY: 'stripe/test/test/publishable-api-key', // pragma: allowlist secret
|
|
43
|
+
STRIPE_LIVE_PUBLISHABLE_API_KEY: 'stripe/test/test/publishable-api-key', // pragma: allowlist secret
|
|
44
|
+
SENTRY_DSN: 'sentry/frontend_dsn',
|
|
45
|
+
SENTRY_CSP_REPORT_URI: 'sentry/frontend_csp_report_uri'
|
|
46
|
+
},
|
|
47
|
+
ledger: {
|
|
48
|
+
DB_PASSWORD: 'aws/rds/application_users/test/ledger', // pragma: allowlist secret
|
|
49
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/test/ledger_support_readonly', // pragma: allowlist secret
|
|
50
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/test/ledger_support_readwrite', // pragma: allowlist secret
|
|
51
|
+
SENTRY_DSN: 'sentry_io/ledger_dsn'
|
|
52
|
+
},
|
|
53
|
+
webhooks: {
|
|
54
|
+
DB_PASSWORD: 'aws/rds/application_users/test/webhooks', // pragma: allowlist secret
|
|
55
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/test/webhooks_support_readonly', // pragma: allowlist secret
|
|
56
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/test/webhooks_support_readwrite', // pragma: allowlist secret
|
|
57
|
+
SENTRY_DSN: 'sentry_io/webhooks_dsn'
|
|
58
|
+
},
|
|
59
|
+
'product-page': {
|
|
60
|
+
pager_duty_cloudwatch_integration_url: 'pager-duty/govuk-pay-product-page/amazon-cloudwatch-integration-url'
|
|
61
|
+
},
|
|
62
|
+
publicapi: {
|
|
63
|
+
SENTRY_DSN: 'sentry_io/publicapi_dsn'
|
|
64
|
+
},
|
|
65
|
+
publicauth: {
|
|
66
|
+
DB_USER: '',
|
|
67
|
+
DB_PASSWORD: '',
|
|
68
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/test/publicauth_support_readonly', // pragma: allowlist secret
|
|
69
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/test/publicauth_support_readwrite', // pragma: allowlist secret
|
|
70
|
+
SENTRY_DSN: 'sentry_io/publicauth_dsn'
|
|
71
|
+
},
|
|
72
|
+
products: {
|
|
73
|
+
DB_USER: '',
|
|
74
|
+
DB_PASSWORD: '',
|
|
75
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/test/products_support_readonly', // pragma: allowlist secret
|
|
76
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/test/products_support_readwrite', // pragma: allowlist secret
|
|
77
|
+
SENTRY_DSN: 'sentry_io/products_dsn'
|
|
78
|
+
},
|
|
79
|
+
'products-ui': {
|
|
80
|
+
SESSION_ENCRYPTION_KEY: '',
|
|
81
|
+
SENTRY_DSN: 'sentry_io/products_ui_dsn',
|
|
82
|
+
GOOGLE_RECAPTCHA_SECRET_KEY: 'google/test/captcha-secret-key', // pragma: allowlist secret
|
|
83
|
+
GOOGLE_RECAPTCHA_SITE_KEY: 'google/test/captcha-site-key'
|
|
84
|
+
},
|
|
85
|
+
selfservice: {
|
|
86
|
+
SESSION_ENCRYPTION_KEY: '',
|
|
87
|
+
ZENDESK_API_KEY: 'zendesk/api_key', // pragma: allowlist secret
|
|
88
|
+
ZENDESK_USER: 'zendesk/user',
|
|
89
|
+
STRIPE_ACCOUNT_API_KEY: 'stripe/test/test/account-api-key', // pragma: allowlist secret
|
|
90
|
+
SENTRY_DSN: 'sentry/selfservice_dsn'
|
|
91
|
+
},
|
|
92
|
+
toolbox: {
|
|
93
|
+
AUTH_GITHUB_CLIENT_ID: 'pay-toolbox/test/github_client_id',
|
|
94
|
+
AUTH_GITHUB_CLIENT_SECRET: 'pay-toolbox/test/github_client_secret', // pragma: allowlist secret
|
|
95
|
+
STRIPE_ACCOUNT_API_KEY: 'stripe/test/test/account-api-key', // pragma: allowlist secret
|
|
96
|
+
STRIPE_ACCOUNT_TEST_API_KEY: 'stripe/test/test/account-api-key', // pragma: allowlist secret
|
|
97
|
+
SENTRY_DSN: 'sentry/toolbox_dsn',
|
|
98
|
+
ZENDESK_USER: 'zendesk/user',
|
|
99
|
+
ZENDESK_API_KEY: 'zendesk/api_key' // pragma: allowlist secret
|
|
100
|
+
}
|
|
101
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TEST_PERF_1_CONFIG = void 0;
|
|
4
|
+
exports.TEST_PERF_1_CONFIG = {
|
|
5
|
+
adminusers: {
|
|
6
|
+
DB_PASSWORD: 'aws/rds/application_users/test/adminusers', // pragma: allowlist secret
|
|
7
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/test-perf/adminusers_support_readonly', // pragma: allowlist secret
|
|
8
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/test-perf/adminusers_support_readwrite', // pragma: allowlist secret
|
|
9
|
+
NOTIFY_API_KEY: 'notify/api_key/ci/test_perf.adminusers.notify_api_key', // pragma: allowlist secret
|
|
10
|
+
SENTRY_DSN: 'sentry_io/adminusers_dsn'
|
|
11
|
+
},
|
|
12
|
+
cardid: {
|
|
13
|
+
SENTRY_DSN: 'sentry_io/cardid_dsn'
|
|
14
|
+
},
|
|
15
|
+
connector: {
|
|
16
|
+
DB_PASSWORD: 'aws/rds/superuser/test-12/connector/payment-password', // pragma: allowlist secret
|
|
17
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/test-perf/connector_support_readonly', // pragma: allowlist secret
|
|
18
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/test-perf/connector_support_readwrite', // pragma: allowlist secret
|
|
19
|
+
NOTIFY_API_KEY: 'notify/api_key/ci/test_perf.connector.notify_api_key', // pragma: allowlist secret
|
|
20
|
+
GDS_CONNECTOR_STRIPE_AUTH_TOKEN: 'stripe/test/test/account-api-key',
|
|
21
|
+
GDS_CONNECTOR_STRIPE_AUTH_LIVE_TOKEN: 'stripe/test/test/account-api-key',
|
|
22
|
+
GDS_CONNECTOR_STRIPE_WEBHOOK_SIGN_SECRET: 'stripe/test/test/webhook-secret', // pragma: allowlist secret
|
|
23
|
+
GDS_CONNECTOR_STRIPE_WEBHOOK_LIVE_SIGN_SECRET: 'stripe/test/test/webhook-secret', // pragma: allowlist secret
|
|
24
|
+
GDS_CONNECTOR_STRIPE_CONNECT_APPLICATION_WEBHOOK_LIVE_SIGN_SECRET: 'stripe/test/test/webhook-connect-events-secret', // pragma: allowlist secret
|
|
25
|
+
GDS_CONNECTOR_STRIPE_CONNECT_APPLICATION_WEBHOOK_TEST_SIGN_SECRET: 'stripe/test/test/webhook-connect-events-secret', // pragma: allowlist secret
|
|
26
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE: 'apple_pay/worldpay/test/payment-processing-certificate-20230906',
|
|
27
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_PRIVATE_KEY: 'apple_pay/worldpay/test/payment-processing-private-key-20230906', // pragma: allowlist secret
|
|
28
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE_SECONDARY: 'apple_pay/worldpay/test/payment-processing-certificate-20230906',
|
|
29
|
+
WORLDPAY_APPLE_PAY_PAYMENT_PROCESSING_PRIVATE_KEY_SECONDARY: 'apple_pay/worldpay/test/payment-processing-private-key-20230906', // pragma: allowlist secret
|
|
30
|
+
SENTRY_DSN: 'sentry_io/connector_dsn',
|
|
31
|
+
SANDBOX_AUTH_TOKEN: 'smoke-test-api-token/notifications/test_sandbox_auth_token'
|
|
32
|
+
},
|
|
33
|
+
frontend: {
|
|
34
|
+
SESSION_ENCRYPTION_KEY: '',
|
|
35
|
+
SESSION_ENCRYPTION_KEY_2: '',
|
|
36
|
+
WORLDPAY_APPLE_PAY_MERCHANT_ID: 'apple_pay/worldpay/test/merchant-id',
|
|
37
|
+
WORLDPAY_APPLE_PAY_MERCHANT_ID_CERTIFICATE: 'apple_pay/worldpay/test/merchant-id-certificate-20240730',
|
|
38
|
+
WORLDPAY_APPLE_PAY_MERCHANT_ID_CERTIFICATE_KEY: 'apple_pay/worldpay/test/merchant-id-certificate-key-20240730',
|
|
39
|
+
STRIPE_APPLE_PAY_MERCHANT_ID: 'apple_pay/stripe/test/merchant-id',
|
|
40
|
+
STRIPE_APPLE_PAY_MERCHANT_ID_CERTIFICATE: 'apple_pay/stripe/test/merchant-id-certificate-20240730',
|
|
41
|
+
STRIPE_APPLE_PAY_MERCHANT_ID_CERTIFICATE_KEY: 'apple_pay/stripe/test/merchant-id-certificate-key-20240730', // pragma: allowlist secret
|
|
42
|
+
STRIPE_TEST_PUBLISHABLE_API_KEY: 'stripe/test/test/publishable-api-key', // pragma: allowlist secret
|
|
43
|
+
STRIPE_LIVE_PUBLISHABLE_API_KEY: 'stripe/test/test/publishable-api-key', // pragma: allowlist secret
|
|
44
|
+
SENTRY_DSN: 'sentry/frontend_dsn', // pragma: allowlist secret
|
|
45
|
+
SENTRY_CSP_REPORT_URI: 'sentry/frontend_csp_report_uri'
|
|
46
|
+
},
|
|
47
|
+
ledger: {
|
|
48
|
+
DB_PASSWORD: 'aws/rds/application_users/test/ledger', // pragma: allowlist secret
|
|
49
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/test-perf/ledger_support_readonly', // pragma: allowlist secret
|
|
50
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/test-perf/ledger_support_readwrite', // pragma: allowlist secret
|
|
51
|
+
SENTRY_DSN: 'sentry_io/ledger_dsn'
|
|
52
|
+
},
|
|
53
|
+
publicapi: {
|
|
54
|
+
SENTRY_DSN: 'sentry_io/publicapi_dsn'
|
|
55
|
+
},
|
|
56
|
+
publicauth: {
|
|
57
|
+
DB_USER: '',
|
|
58
|
+
DB_PASSWORD: '',
|
|
59
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/test-perf/publicauth_support_readonly', // pragma: allowlist secret
|
|
60
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/test-perf/publicauth_support_readwrite', // pragma: allowlist secret
|
|
61
|
+
SENTRY_DSN: 'sentry_io/publicauth_dsn'
|
|
62
|
+
},
|
|
63
|
+
products: {
|
|
64
|
+
DB_USER: '',
|
|
65
|
+
DB_PASSWORD: '',
|
|
66
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/test-perf/products_support_readonly', // pragma: allowlist secret
|
|
67
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/test-perf/products_support_readwrite', // pragma: allowlist secret
|
|
68
|
+
SENTRY_DSN: 'sentry_io/products_dsn'
|
|
69
|
+
},
|
|
70
|
+
'products-ui': {
|
|
71
|
+
SESSION_ENCRYPTION_KEY: '',
|
|
72
|
+
SENTRY_DSN: 'sentry_io/products_ui_dsn',
|
|
73
|
+
GOOGLE_RECAPTCHA_SECRET_KEY: 'google/test/captcha-secret-key', // pragma: allowlist secret
|
|
74
|
+
GOOGLE_RECAPTCHA_SITE_KEY: 'google/test/captcha-site-key'
|
|
75
|
+
},
|
|
76
|
+
selfservice: {
|
|
77
|
+
SESSION_ENCRYPTION_KEY: '',
|
|
78
|
+
ZENDESK_API_KEY: 'zendesk/api_key', // pragma: allowlist secret
|
|
79
|
+
ZENDESK_USER: 'zendesk/user',
|
|
80
|
+
STRIPE_ACCOUNT_API_KEY: 'stripe/test/test/account-api-key', // pragma: allowlist secret
|
|
81
|
+
SENTRY_DSN: 'sentry/selfservice_dsn'
|
|
82
|
+
},
|
|
83
|
+
toolbox: {
|
|
84
|
+
AUTH_GITHUB_CLIENT_ID: 'pay-toolbox/test/github_client_id',
|
|
85
|
+
AUTH_GITHUB_CLIENT_SECRET: 'pay-toolbox/test/github_client_secret', // pragma: allowlist secret
|
|
86
|
+
STRIPE_ACCOUNT_API_KEY: 'stripe/test/test/account-api-key', // pragma: allowlist secret
|
|
87
|
+
STRIPE_ACCOUNT_TEST_API_KEY: 'stripe/test/test/account-api-key', // pragma: allowlist secret
|
|
88
|
+
SENTRY_DSN: 'sentry/toolbox_dsn',
|
|
89
|
+
ZENDESK_API_KEY: 'zendesk/api_key', // pragma: allowlist secret
|
|
90
|
+
ZENDESK_USER: 'zendesk/user'
|
|
91
|
+
},
|
|
92
|
+
webhooks: {
|
|
93
|
+
DB_PASSWORD: 'aws/rds/application_users/test/webhooks', // pragma: allowlist secret
|
|
94
|
+
DB_SUPPORT_PASSWORD_READONLY: 'aws/rds/support_readonly_users/test-perf/webhooks_support_readonly', // pragma: allowlist secret
|
|
95
|
+
DB_SUPPORT_PASSWORD_READWRITE: 'aws/rds/support_readwrite_users/test-perf/webhooks_support_readwrite', // pragma: allowlist secret
|
|
96
|
+
SENTRY_DSN: 'sentry_io/webhooks_dsn'
|
|
97
|
+
}
|
|
98
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TEST_CONFIG = void 0;
|
|
4
|
+
exports.TEST_CONFIG = {
|
|
5
|
+
alb_and_s3_logging_pipeline: {
|
|
6
|
+
firehose_hec_token: 'splunk/firehose-hec-token'
|
|
7
|
+
},
|
|
8
|
+
codebuild: {
|
|
9
|
+
'docker-username': 'dockerhub/concourse-username',
|
|
10
|
+
'docker-access-token': 'dockerhub/concourse-access-token',
|
|
11
|
+
'github-access-token': 'alphagov-pay-ci-concourse/github.com-concourse-github-personal-access-token'
|
|
12
|
+
}
|
|
13
|
+
};
|