Response Headers
server/response_headers[]
This entry can be used to set HTTP headers which are always present in all responses which are returned to clients.
For each entry, only one of macro
, attribute
or text
can be specified.
Properties
Name | Type | Constraints | Description |
---|---|---|---|
header | string | The name of the HTTP header to be included in the response. | |
macro | string | The name of the macro which the value will be taken from. Valid macro values are: - TAM_OP - ERROR_CODE - ERROR_TEXT - ERROR_URL - USERNAME | |
attribute | string | The name of a credential attribute which the value will be taken from. | |
text | string | String content which will be inserted into the header verbatim. |
Example
server:
response_headers:
- header: X-Client-ID
macro: USER
- header: X-Client-Apparent-IP
attribute: AZN_CRED_NETWORK_ADDRESS_STR
- header: X-IBM-Environment
text: staging
Updated 10 months ago