About This Recipe
This recipe enables you to encrypt or decrypt data received from external systems using the OCI Vault. You can encrypt sensitive information (such as credit card details, salary information, and so on) before you pass it to target applications. Similarly, you can decrypt data from a third-party application and transfer it to another application.
This recipe uses the OCI Vault REST APIs to encrypt and decrypt the data through the REST adapter. It contains the following two integration flows:
- Encrypt Data: Accepts plain text as part of the request payload and invokes the OCI Vault Encrypt REST API, which encrypts the plain text and sends the cipher text as part of the REST API response.
- Decrypt Data: Accepts the cipher text as part of the request payload and invokes the OCI Vault Decrypt REST API, which decrypts the cipher text and sends the plain text as part of the REST API response.