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.tomlfile in the
Add the following configuration.
key = "value"property is used to specify the secret alias if secure vault has been used to encrypt the secret key.
[encryption] key = "value"