forked from pagopa/io-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
188 lines (164 loc) · 6.17 KB
/
.env.example
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
API_KEY=put_your_api_key_here
API_URL=http://host.docker.internal:7071/api/v1
API_BASE_PATH="/api/v1"
BACKEND_HOST="https://localhost"
BONUS_API_KEY=put_your_api_key_here
BONUS_API_URL=http://host.docker.internal:7072/api/v1
BONUS_API_BASE_PATH="/bonus/api/v1"
PORT=80
REDIS_URL=put_the_azure_redis_url_here
REDIS_PORT=put_the_azure_redis_port_here
REDIS_PASSWORD=put_the_azure_redis_password_here
TOKEN_DURATION_IN_SECONDS=3600
SAML_CALLBACK_URL="https://localhost/assertionConsumerService"
SAML_ISSUER="https://spid.agid.gov.it/cd"
SAML_ACCEPTED_CLOCK_SKEW_MS=0
SAML_ATTRIBUTE_CONSUMING_SERVICE_INDEX=0
PRE_SHARED_KEY="12345"
ALLOW_NOTIFY_IP_SOURCE_RANGE="::ffff:ac13:1/112"
ALLOW_PAGOPA_IP_SOURCE_RANGE="::ffff:ac13:1/112"
ALLOW_MYPORTAL_IP_SOURCE_RANGE="::ffff:ac13:1/112"
ALLOW_BPD_IP_SOURCE_RANGE="::ffff:ac13:1/112"
ALLOW_SESSION_HANDLER_IP_SOURCE_RANGE="::ffff:ac13:1/112"
AUTHENTICATION_BASE_PATH=""
PAGOPA_BASE_PATH="/pagopa/api/v1"
MYPORTAL_BASE_PATH=/myportal/api/v1
BPD_BASE_PATH=/bpd/api/v1
FIMS_BASE_PATH=/fims/api/v1
PAGOPA_API_URL_PROD="https://pagopa-proxy-prod"
PAGOPA_API_KEY_PROD=foo
PAGOPA_API_URL_TEST="https://pagopa-proxy-test"
PAGOPA_API_KEY_UAT=bar
SPID_TESTENV_URL=https://spid-testenv2:8088
#CIE_METADATA_URL=https://idserver.servizicie.interno.gov.it:8443/idp/shibboleth
CIE_METADATA_URL=https://api.is.eng.pagopa.it/idp-keys/cie/latest
IDP_METADATA_URL=https://api.is.eng.pagopa.it/idp-keys/spid/latest
SHUTDOWN_SIGNALS="SIGINT SIGTERM"
SHUTDOWN_TIMEOUT_MILLIS=30000
SPID_LOG_STORAGE_CONNECTION_STRING=CONNECTION_STRING
SPID_LOG_QUEUE_NAME=spidqueuename
NOTIFICATIONS_STORAGE_CONNECTION_STRING=foobar
NOTIFICATIONS_QUEUE_NAME=nqueuename
PUSH_NOTIFICATIONS_STORAGE_CONNECTION_STRING=foobar
PUSH_NOTIFICATIONS_QUEUE_NAME=nqueuename
USERS_LOGIN_STORAGE_CONNECTION_STRING=foobar
USERS_LOGIN_QUEUE_NAME=ulqueuename
TEST_LOGIN_FISCAL_CODES=AAABBB01C02D345Z,EEEFFF01C02H345Z
TEST_LOGIN_PASSWORD=secret
# ------------------------------------
# Feature Flags
# ------------------------------------
FF_BONUS_ENABLED=1
FF_CGN_ENABLED=1
FF_IO_SIGN_ENABLED=1
JWT_SUPPORT_TOKEN_PRIVATE_RSA_KEY="-----BEGIN RSA PRIVATE KEY-----\n
<APrivateRSAKEY>\n
-----END RSA PRIVATE KEY-----"
JWT_SUPPORT_TOKEN_ISSUER=io-backend
SPID_LEVEL_WHITELIST=SpidL2,SpidL3
FF_USER_AGE_LIMIT_ENABLED=1
# ------------------------------------
# FnAppMessages Env Variables
# ------------------------------------
APP_MESSAGES_API_KEY=put_your_api_key_here
APP_MESSAGES_API_URL=http://host.docker.internal:7073
# ------------------------------------
# IO_SIGN Env Variables
# ------------------------------------
IO_SIGN_API_KEY=put_your_api_key_here
IO_SIGN_API_URL=http://host.docker.internal:7075
IO_SIGN_API_BASE_PATH="/api/v1/sign"
IO_SIGN_SERVICE_ID="aIoSignServiceId"
# ------------------------------------
# CGN Env Variables
# ------------------------------------
CGN_API_KEY=put_your_api_key_here
CGN_API_URL=http://host.docker.internal:7073
CGN_API_BASE_PATH="/api/v1/cgn"
TEST_CGN_FISCAL_CODES=
CGN_OPERATOR_SEARCH_API_KEY=put_your_api_key_here
CGN_OPERATOR_SEARCH_API_URL=http://host.docker.internal:7074
CGN_OPERATOR_SEARCH_API_BASE_PATH="/api/v1/cgn/operator-search"
# ------------------------------------
# EuCovidCert Env Variables
# ------------------------------------
FF_EUCOVIDCERT_ENABLED=1
EUCOVIDCERT_API_KEY=put_your_api_key_here
EUCOVIDCERT_API_URL=http://host.docker.internal:7071/api/v1
EUCOVIDCERT_API_BASE_PATH="/api/v1/eucovidcert"
# ------------------------------------
# Mit Voucher Env Variables
# ------------------------------------
MIT_VOUCHER_API_BASE_PATH="/api/v1/mitvoucher/auth"
JWT_MIT_VOUCHER_TOKEN_PRIVATE_ES_KEY=<APrivateECKEY>
JWT_MIT_VOUCHER_TOKEN_ISSUER=app-backend.io.italia.it
JWT_MIT_VOUCHER_TOKEN_EXPIRATION=1200
JWT_MIT_VOUCHER_TOKEN_AUDIENCE=69b3d5a9c935fac3d60c
# ------------------------------------
# Zendesk support env Variables
# ------------------------------------
ZENDESK_BASE_PATH="/api/backend/zendesk/v1"
ALLOW_ZENDESK_IP_SOURCE_RANGE="::ffff:ac13:1/112"
JWT_ZENDESK_SUPPORT_TOKEN_SECRET="ASHAREDSECRET123"
JWT_ZENDESK_SUPPORT_TOKEN_ISSUER=io-backend
JWT_ZENDESK_SUPPORT_TOKEN_EXPIRATION=1200
# ------------------------------------
# PEC SERVER support env Variables
# ------------------------------------
PECSERVERS_poste_url="http://io-mvl-server-mock:4000"
PECSERVERS_poste_basePath=""
PECSERVERS_poste_secret="aaaa"
PECSERVERS_poste_serviceId="1"
PECSERVERS_aruba_url="http://io-mvl-server-mock:4000"
PECSERVERS_aruba_basePath=""
PECSERVERS_aruba_secret="aaaa"
PECSERVERS_aruba_serviceId="2"
# ------------------------------------
# THIRD PARTY support env Variables
# ------------------------------------
THIRD_PARTY_CONFIG_LIST=""
# ------------------------------------
# APPBACKENDLI
# ------------------------------------
IS_APPBACKENDLI=false
# ------------------------------------
# PN Service Id
# ------------------------------------
PN_SERVICE_ID=aPNServiceId
PN_CONFIGURATION_ID="01HMRBX079WA6SGYBQP1A7FSKH"
FF_ROUTING_PUSH_NOTIF="ALL"
FF_ROUTING_PUSH_NOTIF_BETA_TESTER_SHA_LIST=foo
FF_ROUTING_PUSH_NOTIF_CANARY_SHA_USERS_REGEX="XYZ"
# ------------------------------------
# LOLLIPOP
# ------------------------------------
FF_LOLLIPOP_ENABLED=1
LOLLIPOP_REVOKE_STORAGE_CONNECTION_STRING=foobar
LOLLIPOP_REVOKE_QUEUE_NAME=lollipoprevoke
LOLLIPOP_API_KEY=put_your_api_key_here
LOLLIPOP_API_BASE_PATH="api/v1"
LOLLIPOP_API_URL="http://host.docker.internal:7078/api/v1"
# ------------------------------------
# IOLOGIN
# ------------------------------------
FF_IOLOGIN="NONE"
IOLOGIN_TEST_USERS="GRBGPP87L04L741X"
IOLOGIN_CANARY_USERS_REGEX="^([(0-9)|(a-f)|(A-F)]{63}0)$"
# ------------------------------------
# FAST LOGIN
# ------------------------------------
FAST_LOGIN_API_KEY=foo
FAST_LOGIN_API_URL="http://fast-login-lc/"
LV_TEST_USERS="GRBGPP87L04L741X"
FF_FAST_LOGIN="BETA"
LOCKED_PROFILES_STORAGE_CONNECTION_STRING="CONNECTION_STRING"
LOCKED_PROFILES_TABLE_NAME="lockedProfiles"
# ------------------------------------
# CIE TEST FISCAL CODES
# ------------------------------------
ALLOWED_CIE_TEST_FISCAL_CODES="GRBGPP87L04L741X"
# ------------------------------------
# UNIQUE EMAIL ENFORCEMENT
# ------------------------------------
FF_UNIQUE_EMAIL_ENFORCEMENT="BETA"
UNIQUE_EMAIL_ENFORCEMENT_USERS="GRBGPP87L04L741X"