Skip to content

Instantly share code, notes, and snippets.

@menakaj
Created July 19, 2020 10:06
Show Gist options
  • Select an option

  • Save menakaj/89df19bdcf0dd4db4b237aff8e8d0988 to your computer and use it in GitHub Desktop.

Select an option

Save menakaj/89df19bdcf0dd4db4b237aff8e8d0988 to your computer and use it in GitHub Desktop.
TokenConfig
# The API Key authentication settings.
[apikey.tokenConfigs]
issuer="https://localhost:9095/apikey"
audience="http://org.wso2.apimgt/gateway"
certificateAlias="ballerina"
# Validate the Allowed APIs.
validateAllowedAPIs=true
[apikey.issuer]
[apikey.issuer.tokenConfig]
enabled = true
issuer = "https://localhost:9095/apikey"
certificateAlias = "ballerina"
validityTime = -1
# API Key will be allowed to following api/s
[[apikey.issuer.api]]
name="PizzaShackAPI"
versions="1.0.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment