-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathexample.env
More file actions
47 lines (42 loc) · 2.31 KB
/
example.env
File metadata and controls
47 lines (42 loc) · 2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# used to determine which environment the tests are running on locally and in the pipeline
# valid values are: internal-dev, internal-qa, int and prod
export API_ENVIRONMENT=xxx
# used to run tests against a target environment that uses pytest-nhsd-apim functionality
# valid values are:
# * communications-manager-internal-dev
# * communications-manager-internal-dev-sandbox
# * communications-manager-pr-{num}
# * communications-manager-pr-{num}-sandbox
export PROXY_NAME=xxx
# API Keys
# ========
# In order to find out the value of an environments given API key, follow these steps
# 1. Log in to Non-Prod/ Prod APIGEE
# 2. Navigate to 'Publish' > 'Apps' and search for the app linked to authentication
# 3. Copy the "key" from the Credentials related to the app
#
# api key used to manually generate authentication for a given environment, used in generate_bearer_token.py and for postman authentication
export API_KEY=xxx
# api key used to generate authentication for the 'comms-manager-local' app for tests ran against the internal-dev and internal-qa environments
export NON_PROD_API_KEY=xxx
# api key used to generate authentication for the 'NHS Notify Test Client 1' app for tests ran against the internal-dev and internal-qa environments
export NON_PROD_API_KEY_TEST_1=xxx
# api key used to generate authentication for the 'Communications Manager - Integration' app for tests ran against the int environment
export INTEGRATION_API_KEY=xxx
# api key used to generate authentication for the 'Communications Manager - Prod' app for tests ran against the production environment
export PRODUCTION_API_KEY=xxx
# Private Keys
# ============
# private key used to generate authentication for tests ran against the internal-dev and internal-qa
export NON_PROD_PRIVATE_KEY=xxx
# private key used to generate authentication for tests ran against the int environment
export INTEGRATION_PRIVATE_KEY=xxx
# private key used to generate authentication for tests ran against the prod environment
export PRODUCTION_PRIVATE_KEY=xxx
# Postman Secrets
# ===============
# These are used to pull down changes made in the postman collection https://www.postman.com/nhs-communications-manager/communications-manager/
export INTEGRATION_COLLECTION_API_KEY=xxx
export SANDBOX_COLLECTION_API_KEY=xxx
# this is required for running the static analysis steps
export SONAR_TOKEN=xxx