Unable to read apiKeyRecord.label context variable
search cancel

Unable to read apiKeyRecord.label context variable


Article ID: 204867


Updated On:


CA API Gateway API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway


We had traffic logs set up as follows:

${requestId} | ${apiKeyRecord.label}

previous version was gateway 8.3 and portal 3.5

APIs were created on gateway. Now, after we upgrade gateway and portal we noticed for portal published APIs

 apiKeyRecord context values are no longer available to traffic logger. V
ariable does show if we audit it with in the policy fragment part.


Release : 9.4
Portal 4.5

Component : API GATEWAY


Portal APIs when published they are packaged in ENCAP assertions and fragments so the variable that we needed was never actually output from the fragment.


so portal published APIs are using fragment > API Key ... so variable wasn't exposed,
it needed to be Output-ed separately