Configuration Catalog for API Manager
The configuration model of WSO2 API Manager is based on the toml format. The <APIM_HOME>/repository/conf/deployment.toml
file is the single source used to configure and tune various features.
This document describes all the configuration parameters that are used in API Manager for WSO2 Open Banking.
Instructions for use
Select the configuration sections, parameters, and values that are required for your use and add them to the
.tomlfile.
Server
[server]
hostname = "localhost"
node_ip = "127.0.0.1"
#offset=0
mode = "single" #single or ha
base_path = "${carbon.protocol}://${carbon.host}:${carbon.management.port}"
#discard_empty_caches = false
server_role = "default"
[server]
Required
This includes configurations required for deploying an API Manager server node.
hostname string Required
"localhost""localhost","127.0.0.1","<any-ip-address>","<any-hostname>"The hostname of the machine hosting the API Manager instance.
node_ip string Required
127.0.0.1The IP address of the machine hosting the API Manager instance.
offset integer
0Port offset allows you to run multiple WSO2 products, multiple instances of a WSO2 product, or multiple WSO2 product clusters on the same server or virtual machine (VM). Port offset defines the number by which all ports defined in the runtime such as the HTTP/S ports will be offset. For example, if the default HTTP port is 9443 and the port offset is 1, the effective HTTP port will be 9444. Therefore, for each additional WSO2 product instance, set the port offset to a unique value so that they can all run on the same server without any port conflicts.
mode string Required
singlesingle,haDefines the type of deployment, whether it is a single node deployment or a High Availability (HA) cluster.
base_path string Required
${carbon.protocol}://${carbon.host}:${carbon.management.port}Defines the base path URL to access the server.
discard_empty_caches boolean
FALSEtrue,falseSet this property to true, in order to discard empty caches.
server_role string Required
default"default","api-devportal","api-key-manager","api-publisher","gateway-worker","traffic-manager"The profile name of the API Manager instance.
Super admin
[super_admin]
username = "[email protected]"
password = "wso2123"
create_admin_account = true[super_admin]
Required
This includes the configurations related to the super admin user.
username string Required
[email protected]The username of the super admin user.
password string Required
wso2123The password of the super admin user.
create_admin_account boolean Required
TRUEtrue,falseSet this to true, to create a new user with the super admin details given.
User management database
[realm_manager]
data_source= "WSO2USER_DB"[realm_manager]
Required
This includes the datasource configurations for the user management database.
data_source string Required
WSO2USER_DBThe datasource used by the user manager.
Tenant management
[tenant_mgt]
enable_email_domain = true[tenant_mgt]
Required
Configurations related to tenant users.
enable_email_domain boolean Required
TRUEtrue,falseEnable email login for tenant users.
User store
[user_store]
type = "database_unique_id"
class = "org.wso2.carbon.user.core.jdbc.UniqueIDJDBCUserStoreManager"[user_store]
Required
This includes the configurations related to the user store.
type string Required
database_unique_idConfigure the type of the user store.
class string Required
org.wso2.carbon.user.core.jdbc.UniqueIDJDBCUserStoreManagerConfigure the user store manager class. The default primary user store configuration is for JDBC user stores.
User store properties
[user_store.properties]
UsernameJavaRegEx = "a-zA-Z0-9@._-{3,30}$"
UsernameJavaScriptRegEx = "^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$"
SCIMEnabled = false
IsBulkImportSupported = false
LeadingOrTrailingSpaceAllowedInUserName = false
UsernameWithEmailJavaScriptRegEx = "^[\\S]{3,30}$"[user_store.properties]
Required
UsernameJavaRegEx string Required
a-zA-Z0-9@._-{3,30}$A regular expression to validate usernames. By default, strings have a length of 5 to 30. Only non-empty characters are allowed. You can provide ranges of alphabets, numbers and also ranges of ASCII values in the RegEx properties.
UsernameJavaScriptRegEx string Required
^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$The regular expression used by the front-end components for username validation.
SCIMEnabled boolean Required
FALSEtrue,falseThis is to configure whether the user store is supported for SCIM provisioning.
IsBulkImportSupported boolean Required
FALSEtrue,falseThis is to configure whether the user store is supported for bulk imports.
LeadingOrTrailingSpaceAllowedInUserName boolean Required
FALSEtrue,falseThis is to configure whether the username can contain leading or trailing spaces.
UsernameWithEmailJavaScriptRegEx string Required
^[\S]{3,30}$A regular expression to validate usernames that contain an email address. By default, strings have a length of 3 to 30. Only non-empty characters are allowed. You can provide ranges of alphabets, numbers and also ranges of ASCII values in the RegEx properties.
Authorization manager
[authorization_manager]
class = "org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager"[authorization_manager]
Required
This includes the configurations related to the authorization manager.
class string Required
org.wso2.carbon.user.core.authorization.JDBCAuthorizationManagerThe Authorization Manager for your server.
Authorization manager properties
[authorization_manager.properties]
AdminRoleManagementPermissions = "/permission"
AuthorizationCacheEnabled = true
GetAllRolesOfUserEnabled = false[authorization_manager.properties]
Required
AdminRoleManagementPermissions string Required
/permissionSets the registry path where the authorization information (role-based permissions) are stored.
AuthorizationCacheEnabled boolean Required
TRUEtrue,falseTo enable authorization cache.
GetAllRolesOfUserEnabled boolean Required
FALSEtrue,falseEnable this if there are any performance issues in the production environment. Enabling this property affects the performance when the user logs in. This depends on the users, roles and permission stats.
Shared database configurations
[database.shared_db]
url = "jdbc:mysql://localhost:3306/fs_am_configdb?autoReconnect=true&useSSL=false"
username = "root"
password = "root"
driver = "com.mysql.jdbc.Driver"[database.shared_db]
Required
Configurations related to the databases shared between nodes.
url string Required
jdbc:mysql://localhost:3306/fs_am_configdb?autoReconnect=true&useSSL=falseThe database connection URL that your DBMS JDBC driver uses to connect to the fs_am_configdb database.
username string Required
rootThe username used for the database connection
password string Required
rootThe password used for the database connection
driver string Required
com.mysql.jdbc.Drivercom.mysql.jdbc.Driver, com.microsoft.sqlserver.jdbc.SQLServerDriver, oracle.jdbc.driver.OracleDriver, org.postgresql.DriverThe name of the JDBC driver.
Shared database connection pool configurations
[database.shared_db.pool_options]
maxActive = "150"
maxWait = "60000"
minIdle ="5"
testOnBorrow = true
validationQuery="SELECT 1"
#Use below for oracle
#validationQuery="SELECT 1 FROM DUAL"
validationInterval="30000"
defaultAutoCommit=false[database.shared_db.pool_options]
Required
maxActive string Required
150Tuning parameters. Change according to the preferred database.
maxWait string Required
60000Tuning parameters. Change according to the preferred database.
minIdle string Required
5Tuning parameters. Change according to the preferred database.
testOnBorrow boolean Required
TRUEtrue,falseTuning parameters. Change according to the preferred database.
validationQuery string Required
SELECT 1SELECT 1,SELECT 1 FROM DUALTuning parameters. Change according to the preferred database. For Oracle DBMS, use "SELECT 1 FROM DUAL".
validationInterval string Required
30000Tuning parameters. Change according to the preferred database.
defaultAutoCommit boolean Required
FALSEtrue,falseTuning parameters. Change according to the preferred database.
API Manager database configurations
[database.apim_db]
url = "jdbc:mysql://localhost:3306/fs_apimgtdb?autoReconnect=true&useSSL=false"
username = "root"
password = "root"
driver = "com.mysql.jdbc.Driver"[database.apim_db]
Required
Database configurations related to API Manager.
url string Required
jdbc:mysql://localhost:3306/fs_apimgtdb?autoReconnect=true&useSSL=falseThe database connection URL that your DBMS JDBC driver uses to connect to the openbank_apimgtdb database.
username string Required
rootThe username used for the database connection
password string Required
rootThe password used for the database connection
driver string Required
com.mysql.jdbc.Drivercom.mysql.jdbc.Driver, com.microsoft.sqlserver.jdbc.SQLServerDriver, oracle.jdbc.driver.OracleDriver, org.postgresql.DriverThe name of the JDBC driver.
API Manager database connection pool configurations
[database.apim_db.pool_options]
maxActive = "150"
maxWait = "60000"
minIdle ="5"
testOnBorrow = true
validationQuery="SELECT 1"
#Use below for oracle
#validationQuery="SELECT 1 FROM DUAL"
validationInterval="30000"
defaultAutoCommit=false[database.apim_db.pool_options]
Required
maxActive string Required
150Tuning parameters. Change according to the preferred database.
maxWait string Required
60000Tuning parameters. Change according to the preferred database.
minIdle string Required
5Tuning parameters. Change according to the preferred database.
testOnBorrow boolean Required
TRUEtrue,falseTuning parameters. Change according to the preferred database.
validationQuery string Required
SELECT 1SELECT 1,SELECT 1 FROM DUALTuning parameters. Change according to the preferred database. For Oracle DBMS, use "SELECT 1 FROM DUAL".
validationInterval string Required
30000Tuning parameters. Change according to the preferred database.
defaultAutoCommit boolean Required
FALSEtrue,falseTuning parameters. Change according to the preferred database.
API Manager config registry database
[database.config]
url = "jdbc:mysql://localhost:3306/fs_am_configdb?autoReconnect=true&useSSL=false"
username = "root"
password = "root"
driver = "com.mysql.jdbc.Driver"[database.config]
Required
Configurations related to the API Manager config registry database.
url string Required
jdbc:mysql://localhost:3306/fs_am_configdb?autoReconnect=true&useSSL=falseThe database connection URL that your DBMS JDBC driver uses to connect to the fs_am_configdb database.
username string Required
rootThe username used for the database connection
password string Required
rootThe password used for the database connection
driver string Required
com.mysql.jdbc.Drivercom.mysql.jdbc.Driver, com.microsoft.sqlserver.jdbc.SQLServerDriver, oracle.jdbc.driver.OracleDriver, org.postgresql.DriverThe name of the JDBC driver.
Config registry database connection pool configurations
[database.config.pool_options]
maxActive = "150"
maxWait = "60000"
minIdle ="5"
testOnBorrow = true
validationQuery="SELECT 1"
#Use below for oracle
#validationQuery="SELECT 1 FROM DUAL"
validationInterval="30000"
defaultAutoCommit=false[database.config.pool_options]
Required
maxActive string Required
150Tuning parameters. Change according to the preferred database.
maxWait string Required
60000Tuning parameters. Change according to the preferred database.
minIdle string Required
5Tuning parameters. Change according to the preferred database.
testOnBorrow boolean Required
TRUEtrue,falseTuning parameters. Change according to the preferred database.
validationQuery string Required
SELECT 1SELECT 1,SELECT 1 FROM DUALTuning parameters. Change according to the preferred database. For Oracle DBMS, use "SELECT 1 FROM DUAL".
validationInterval string Required
30000Tuning parameters. Change according to the preferred database.
defaultAutoCommit boolean Required
FALSEtrue,falseTuning parameters. Change according to the preferred database.
User Manager datasource
[database.user]
url = "jdbc:mysql://localhost:3306/fs_am_userdb?autoReconnect=true&useSSL=false"
username = "root"
password = "root"
driver = "com.mysql.jdbc.Driver"[database.user]
Required
Configurations related to the API Manager config registry database.
url string Required
jdbc:mysql://localhost:3306/fs_am_userdb?autoReconnect=true&useSSL=falseThe database connection URL that your DBMS JDBC driver uses to connect to the fs_am_userdb database.
username string Required
rootThe username used for the database connection
password string Required
rootThe password used for the database connection
driver string Required
com.mysql.jdbc.Drivercom.mysql.jdbc.Driver, com.microsoft.sqlserver.jdbc.SQLServerDriver, oracle.jdbc.driver.OracleDriver, org.postgresql.DriverThe name of the JDBC driver.
User manager database connection pool configurations
[database.user.pool_options]
maxActive = "150"
maxWait = "60000"
minIdle ="5"
testOnBorrow = true
validationQuery="SELECT 1"
#Use below for oracle
#validationQuery="SELECT 1 FROM DUAL"
validationInterval="30000"
defaultAutoCommit=false[database.user.pool_options]
Required
maxActive string Required
150Tuning parameters. Change according to the preferred database.
maxWait string Required
60000Tuning parameters. Change according to the preferred database.
minIdle string Required
5Tuning parameters. Change according to the preferred database.
testOnBorrow boolean Required
TRUEtrue,falseTuning parameters. Change according to the preferred database.
validationQuery string Required
SELECT 1SELECT 1,SELECT 1 FROM DUALTuning parameters. Change according to the preferred database. For Oracle DBMS, use "SELECT 1 FROM DUAL".
validationInterval string Required
30000Tuning parameters. Change according to the preferred database.
defaultAutoCommit boolean Required
FALSEtrue,falseTuning parameters. Change according to the preferred database.
Keystore TLS
[keystore.tls]
file_name = "wso2carbon.jks"
type = "JKS"
password = "wso2carbon"
alias = "wso2carbon"
key_password = "wso2carbon"[keystore.tls]
Required
Configurations related to the keystore that contains the TLS certificate.
file_name string Required
wso2carbon.jksThe filename of the Transport Layer Security (TLS) keystore.
type string Required
JKSTRUEThe type of the keystore file.
password string Required
wso2carbonThe password of the keystore file.
alias string Required
wso2carbonThe alias of the keystore file.
key_password string Required
wso2carbonThe password of the private key.
Primary keystore
#[keystore.primary]
#file_name = "wso2carbon.jks"
#type = "JKS"
#password = "wso2carbon"
#alias = "wso2carbon"
#key_password = "wso2carbon"
[keystore.primary]
Configurations related to the primary keystore. Primary Keystore is used for signing and encrypting data that is externally exposed.
file_name string
wso2carbon.jksThe filename of the primary keystore.
type string
JKSThe type of the primary keystore file.
password string
wso2carbonThe password of the keystore file.
alias string
wso2carbonThe alias of the primary keystore file.
key_password string
wso2carbonThe password of the private key.
Internal keystore
#[keystore.internal]
#file_name = "wso2carbon.jks"
#type = "JKS"
#password = "wso2carbon"
#alias = "wso2carbon"
#key_password = "wso2carbon"[keystore.internal]
Configurations related to the internal keystore. The Internal Keystore is used for encrypting internal critical data including passwords and other confidential information in configuration files.
file_name string
wso2carbon.jksThe filename of the primary keystore.
type string
JKSThe type of the primary keystore file.
password string
wso2carbonThe password of the keystore file.
alias string
wso2carbonThe alias of the primary keystore file.
key_password string
wso2carbonThe password of the private key.
API Manager Gateway environment configurations
[[apim.gateway.environment]]
name = "Default"
type = "hybrid"
gateway_type = "Regular"
display_in_api_console = true
description = "This is a hybrid gateway that handles both production and sandbox token traffic."
show_as_token_endpoint_url = true
service_url = "https://localhost:${mgt.transport.https.port}/services/"
username= "${admin.username}"
password= "${admin.password}"
ws_endpoint = "ws://localhost:9099"
wss_endpoint = "wss://localhost:8099"
http_endpoint = "http://localhost:${http.nio.port}"
https_endpoint = "https://localhost:${https.nio.port}"
websub_event_receiver_http_endpoint = "http://localhost:9021"
websub_event_receiver_https_endpoint = "https://localhost:8021"[apim.gateway.environment]
Required
Configuring the gateways used by API Manager.
name string Required
Production and SandboxThe name of the gateways used by the API Manager. Use any preferred value.
type string Required
hybridType of the gateway.
display_in_api_console boolean Required
TRUEtrue,falseDisplays the environment under 'Try it' in the API Developer Portal, in the API console.
description string Required
This is a hybrid gateway that handles both production and sandbox token traffic.Describe the function of the gateway.
show_as_token_endpoint_url string Required
TRUEtrue,falseThis is used to construct the sample cURL request in the API Developer Portal.
service_url string Required
https://localhost:${mgt.transport.https.port}/services/APIs will be published using this URL
username string Required
${admin.username}The credentials used to publish APIs.
password string Required
${admin.password}The credentials used to publish APIs.
ws_endpoint string Required
ws://localhost:9099The WebSocket (WS) endpoint.
wss_endpoint string Required
wss://localhost:8099The WebSocket Secure (WSS) endpoint.
http_endpoint string Required
http://localhost:${http.nio.port}The Hypertext Transfer Protocol (HTTP) endpoint.
https_endpoint string Required
https://localhost:${https.nio.port}The Hypertext Transfer Protocol Secure (HTTPS) endpoint.
Configure the Gateway environment
[apim.sync_runtime_artifacts.gateway]
gateway_labels =["Default"][apim.sync_runtime_artifacts.gateway]
Required
gateway_labels string Required
["Default"]Gateway token cache
#[apim.cache.gateway_token]
#enable = true
#expiry_time = "900s"[apim.cache.gateway_token]
Configurations related to Gateway token cache.
enable boolean
TRUEtrue,falseEnable the gateway token cache. WSO2 recommends enabling this feature by default. The token validation request checks with the cached value.
expiry_time string
900sSet the cache expiry time in seconds. The recommended value is 900 seconds.
Gateway cache resource
#[apim.cache.resource]
#enable = true
#expiry_time = "900s"[apim.cache.resource]
enable boolean
TRUEtrue,falseEnable the gateway resource cache.
expiry_time string
900sSet the cache expiry time in seconds. The recommended value is 900 seconds.
Key Manager token cache
#[apim.cache.km_token]
#enable = false
#expiry_time = "15m"[apim.cache.km_token]
enable boolean
TRUEtrue,falseEnable the Key Manager token cache. The token validation request checks with the value cached at the Key Manager. At any given time you should only have one cache enabled, which is either the Key Manager cache or the API Gateway cache. WSO2 does not recommend using both caches at the same time.
expiry_time string
15mSet the cache expiry time in minutes.
Cache recent APIs
#[apim.cache.recent_apis]
#enable = false[apim.cache.recent_apis]
enable boolean
FALSEtrue,falseEnable cache for recently added APIs in the API Developer Portal. This expires in 15 minutes by default.
Cache scopes
#[apim.cache.scopes]
#enable = true[apim.cache.scopes]
enable boolean
TRUEtrue,falseEnable cache for scopes. This expires in 15 minutes by default.
Cache publisher roles
#[apim.cache.publisher_roles]
#enable = true[apim.cache.publisher_roles]
enable boolean
TRUEtrue,falseEnable cache for publisher roles. Expires in 15 minutes by default
Cache JWT claims
#[apim.cache.jwt_claim]
#enable = true
#expiry_time = "15m"[apim.cache.jwt_claim]
enable boolean
TRUEtrue,falseEnable JWT claim cache. The user's claims used to create the JWT are cached.
expiry_time string
15mSet the cache expiry time. Would be the same as the JWT expiry time.
Cache tags
#[apim.cache.tags]
#expiry_time = "2m"[apim.cache.tags]
expiry_time string
2mSet when the tag cache expires. This option is disabled when not defined.
API Manager Analytics configurations
[apim.analytics]
enable = false
auth_token = ""
[apim.analytics]
Required
enable boolean Required
falsetrue,falseUse this to enable data publishing in the API Manager.
auth_token string Required
API Manager - Key Manager configurations
[apim.key_manager]
enable_lightweight_apikey_generation = true
service_url = "https://localhost:9446/services/"
username = "[email protected]"
password = "wso2123"
allow_subscription_validation_disabling = true
#pool.init_idle_capacity = 50
#pool.max_idle = 100
#key_validation_handler_type = "default"
#key_validation_handler_type = "custom"
#key_validation_handler_impl = "org.wso2.carbon.apimgt.keymgt.handlers.DefaultKeyValidationHandler"
[apim.key_manager]
Required
service_url string Required
https://localhost:9446${carbon.context}services/The URL that offers services of the Key Manager.
type string Required
WSO2-ISusername string
[email protected]Credentials of the super admin user in the Key Manager node.
password string
wso2123Credentials of the super admin user in the Key Manager node.
allow_subscription_validation_disabling boolean
trueDIsable the API Subscription Validation.
pool.init_idle_capacity string
50The minimum number of clients created, to connect to the key manager.
pool.max_idle string
100The maximum number of clients created, to connect to the key manager.
key_validation_handler_type string
defaultdefault, customIf the type is set to custom, then provide the key_validation_handler_impl value.
key_validation_handler_impl string
org.wso2.carbon.apimgt.keymgt.handlers.DefaultKeyValidationHandlerProvide a custom key validation handler implementation. To do this, set key_validation_handler_type to custom.
OAuth configurations
[apim.oauth_config]
enable_outbound_auth_header = true
white_listed_scopes = ["^device_.*", "openid", "^FS_.*", "^TIME_.*"]
#auth_header = "Authorization"
#revoke_endpoint = "https://localhost:${https.nio.port}/revoke"
#enable_token_encryption = false
#enable_token_hashing = false[apim.oauth_config]
Required
Contains OAuth-related configurations.
enable_outbound_auth_header boolean Required
TRUEtrue,falseIf TRUE, sends the Auth header to the backend as received from the client.
white_listed_scopes string Required
["^device_.*", "openid", "^FS_.*", "^TIME_.*"]To skip role validation for a scope in an API's request, add the scope to the white list.
auth_header string
AuthorizationA valid authorization header for OAuth configurations.
revoke_endpoint string
https://localhost:${https.nio.port}/revokeThe token revocation endpoint used in the API Developer Portal
enable_token_encryption string
FALSEIf set to TRUE, the token stored in the database will be encrypted/decrypted when reading and storing. For more information, see Extension Points for OAuth.
enable_token_hashing string
FALSESet to TRUE to enable hashing. For more information, see Setting Up OAuth Token Hashing.
Developer Portal configurations
[apim.devportal]
#url = "https://localhost:${mgt.transport.https.port}/devportal"
#enable_application_sharing = false
#if application_sharing_type, application_sharing_impl both defined priority goes to application_sharing_impl
#application_sharing_type = "default" #changed type, saml, default #todo: check the new config for rest api
#application_sharing_impl = "org.wso2.carbon.apimgt.impl.SAMLGroupIDExtractorImpl"
display_multiple_versions = true
#display_deprecated_apis = false
enable_comments = false
enable_ratings = false
enable_forum = false
#enable_anonymous_mode=true[apim.devportal]
Required
Configurations related to the API Developer Portal.
url string
https://localhost:${mgt.transport.https.port}/devportaltrue,falseThe public API Developer Portal URL
enable_application_sharing boolean
FALSEtrue,falseEnable application sharing according to the claims.
application_sharing_type string
defaulttrue,falseUse the application_sharing_impl as the default implementation.
application_sharing_impl string
org.wso2.carbon.apimgt.impl.SAMLGroupIDExtractorImpltrue,falseNeed to define if the application_sharing_type is custom. If both application_sharing_type and application_sharing_impl are defined, take value from application_sharing_impl.
display_multiple_versions boolean Required
TRUEtrue,falseIf TRUE, displays all API versions under the API listing.
display_deprecated_apis boolean
FALSEtrue,falseIf TRUE displays all the deprecated APIs under the API listing.
enable_comments boolean Required
FALSEtrue,falseTo enable adding comments on the API.
enable_ratings boolean Required
FALSEtrue,falseTo enable rating the API with a star-based rating.
enable_forum string
TRUEenable_anonymous_mode boolean
TRUEtrue,falseIf set to TRUE, you can access the Developer Portal anonymously.
CORS configurations
[apim.cors]
allow_origins = "*"
allow_methods = ["GET","PUT","POST","DELETE","PATCH","OPTIONS"]
allow_headers = ["authorization","Access-Control-Allow-Origin","Content-Type","SOAPAction","apikey"]
allow_credentials = false[apim.cors]
Required
Configures CORS headers on the Publisher and the Gateway.
allow_origins string
*Denotes "Access-Control-Allow-Origin" response header. Specify an origin to share the response with.
allow_methods string
GET,PUT,POST,DELETE,PATCH,OPTIONSConfigures the methods allowed by the access control.
allow_headers string
authorization,Access-Control-Allow-Origin,Content-Type,SOAPActionConfigures the type of headers allowed by the access control.
allow_credentials string
FALSESpecifying this header to true means that the server allows cookies (or other user credentials) to be included on cross-origin requests. It is false by default and if you set it to true then make sure that the Access-Control-Allow-Origin header does not contain the wildcard (*)
Throttling configurations
[apim.throttling]
username = "$ref{super_admin.username}@carbon.super"
#enable_data_publishing = true
#enable_policy_deploy = true
#enable_blacklist_condition = true
#enable_persistence = true
#throttle_decision_endpoints = ["tcp://localhost:5672","tcp://localhost:5672"][apim.throttling]
Required
Configurations related to API Manager traffic control.
username string Required
$ref{super_admin.username}@carbon.superenable_data_publishing boolean
TRUEtrue,falseEnable publishing of requests and throttling data.
enable_policy_deploy boolean
TRUEtrue,falseEnable deployment of throttling policies.
enable_blacklist_condition boolean
TRUEtrue,falseEnable blocking conditions from the admin portal.
enable_persistence boolean
TRUEtrue,falseEnable persisting current counter state of the Traffic Manager.
throttle_decision_endpoints boolean
["tcp://localhost:5672","tcp://localhost:5672"]Define a set of JMS connections as an array.
Throttling Policy Deploy configurations
[apim.throttling.policy_deploy]
username = "$ref{super_admin.username}@carbon.super"[apim.throttling.policy_deploy]
Required
Configurations related to API Manager traffic control.
username string Required
$ref{super_admin.username}@carbon.superThrottling JMS configurations
[apim.throttling.jms]
password = "$ref{super_admin.password}"
username = "am_admin!wso2.com!carbon.super"[apim.throttling.jms]
Required
Configurations related to API Manager traffic control.
username string Required
am_admin!wso2.com!carbon.superpassword string Required
$ref{super_admin.password}Was this page helpful?