Working with Security
After you install the APIM, it is recommended to change the default security settings according to the requirements of your production environment. As the APIM is built on top of the WSO2 Carbon platform, some security configurations are inherited from the Carbon platform.
Important!
If you are configuring your production environment, be sure to check the Security Guidelines for Production Deployment before applying any security configurations.
The following topics explain the platform-specific, and product-specific configurations:
APIM-specific security configurations
- Passing Enduser Attributes to the Backend Using JWT
- Encrypting Secure Endpoint Passwords
- Maintaining Logins and Passwords
- Saving Access Tokens in Separate Tables
- Configuring WSO2 Identity Server as the Key Manager
- Configuring a Third-Party Key Manager
- Enabling Role-Based Access Control Using XACML
- Encrypting OAuth Keys
- Provisioning Out-of-Band OAuth Clients
WSO2 Carbon platform-based security configurations
The following security configurations are common to all WSO2 products that are built on top of the WSO2 Carbon platform.
Configuration | Description |
---|---|
Configuring transport-level security | WSO2 products support a variety of transports that make them capable of receiving and sending messages over a multitude of transport, and application-level protocols. By default, all WSO2 products are shipped with the HTTP transport. The transport receiver implementation of the HTTP transport is available in Carbon platform. The transport sender implementation comes from the Tomcat HTTP connector, which is configured in the For more information on securing the HTTP transport, see Configuring transport level security in the WSO2 Carbon documentation. |
Configuring keystores | A keystore is a repository that stores the cryptographic keys and certificates. These artifacts are used for encrypting sensitive information, and establishing trust between your server and outside parties that connect to your server. All WSO2 products come with a default keystore ( See the following in the WSO2 Carbon documentation:
To download a keystore in WSO2 API Manager, do the following:
|
Securing sensitive passwords | As a secure vault implementation is available in all WSO2 products, you can encrypt the sensitive data such as passwords in configuration files using the Cipher tool. See the following in the WSO2 Carbon documentation:
Also see how to encrypt secure endpoint passwords. |
Enabling JAVA security manager | See Enabling JAVA security manager in the WSO2 Carbon documentation on how to prevent untrusted code from manipulating your system. |
API Endpoint Security
Look into the following topics under enabling endpoint security for the APIs.