Secret encoding
You can use the encoding parameter to set an encoding format when you create an ESV secret. You can only choose an encoding format using the API. The UI currently creates secrets only with the generic encoding format.
ForgeRock Documentation
Secret encoding