Skip to content

/AWS1/CL_DOAMCPSERVERAPIKEYCFG

API key configuration for MCP server.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_apikeyname TYPE /AWS1/DOASTRING /AWS1/DOASTRING

User friendly API key name specified by end user.

iv_apikeyvalue TYPE /AWS1/DOAAPIKEYVALUE /AWS1/DOAAPIKEYVALUE

API key value for authenticating with the service.

iv_apikeyheader TYPE /AWS1/DOASTRING /AWS1/DOASTRING

HTTP header name to send the API key in requests to the service.


Queryable Attributes

apiKeyName

User friendly API key name specified by end user.

Accessible with the following methods

Method Description
GET_APIKEYNAME() Getter for APIKEYNAME, with configurable default
ASK_APIKEYNAME() Getter for APIKEYNAME w/ exceptions if field has no value
HAS_APIKEYNAME() Determine if APIKEYNAME has a value

apiKeyValue

API key value for authenticating with the service.

Accessible with the following methods

Method Description
GET_APIKEYVALUE() Getter for APIKEYVALUE, with configurable default
ASK_APIKEYVALUE() Getter for APIKEYVALUE w/ exceptions if field has no value
HAS_APIKEYVALUE() Determine if APIKEYVALUE has a value

apiKeyHeader

HTTP header name to send the API key in requests to the service.

Accessible with the following methods

Method Description
GET_APIKEYHEADER() Getter for APIKEYHEADER, with configurable default
ASK_APIKEYHEADER() Getter for APIKEYHEADER w/ exceptions if field has no value
HAS_APIKEYHEADER() Determine if APIKEYHEADER has a value