Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Variable

Required

Comment

Example value

TARGET_BASE_URL

Yes

Base url of target system

https://api-bobtest-2019-1.samtrafiken.se

RUN_MODE

No

One of:

  • NO_BOBHOK

  • CLIENT_CERT

  • NEW_AUTH_TOKEN

Default is NO_BOBHOK.

NO_BOBHOK

TLS_CLIENT_CRT

No

Not used for run mode NO_BOBHOK.

Required for run mode CLIENT_CERT.

Optional for run mode NEW_AUTH_TOKEN.

PEM file content shall be Base64 encoded.

Must match bobHok in auth token in request to Steve.

LS0tLS1CRUdJTiBDRV…

TLS_CLIENT_KEY

No

Not used for run mode NO_BOBHOK.

Required for run mode CLIENT_CERT.

Optional for run mode NEW_AUTH_TOKEN.

PEM file content shall be Base64 encoded.

LS0tLS1CRUdJTiBQUk…

AUTH_TOKEN_PRIVATE_KEY

No

Required for run mode NEW_AUTH_TOKEN.

It’s a JWK.

{"kty":"EC","kid":"1:smoke_test","x":"O0wqz...","y":"r0osl...","crv":"P-256","d":"MjzU_..."}

SERVER_PORT

No

Listen port for incoming requests

8080 (is default)

USE_TLS

No

Should incoming request be made with https (TLS)

false (is default)

TLS_SERVER_CRT

No

PEM file content shall be Base64 encoded. If not set, and USE_TLS is true, a default server certificate, signed by STEVE Root CA, is used.

LS0tLS1CRUdJTiBDRV…

TLS_SERVER_KEY

No

PEM file content shall be Base64 encoded.

LS0tLS1CRUdJTiBQUk…