Using Symmetric Encryption¶
With symmetric encryption a single key will be shared for encryption and decryption of information. Even though, WSO2 Identity Server uses asymmetric encryption by default, you can switch to symmetric encryption.
Follow the steps given below to enable symmetric encryption.
- Open the
deployment.toml
file in the<IS_HOME>/repository/conf
directory. -
Add the following configuration.
The
key = "value"
property is used to specify the secret alias if secure vault has been used to encrypt the secret key.[encryption] key = "value"