Implement the subcommand to allow exporting secrets of clients. Ideally, the command reads in a templste file that specifies the required format of the export result per client. In some case, it may be necessary to export multiple, different formats. Therefore, if a directory is provided, all files with a specific name should be used.
In addition, the subcommand receives a realm name and additional parameters that may be necessary for the export (besides the secret that is always requested from keycloak).
Implement the subcommand to allow exporting secrets of clients. Ideally, the command reads in a templste file that specifies the required format of the export result per client. In some case, it may be necessary to export multiple, different formats. Therefore, if a directory is provided, all files with a specific name should be used. In addition, the subcommand receives a realm name and additional parameters that may be necessary for the export (besides the secret that is always requested from keycloak).
Secrets can be exported for a single client as described in https://www.keycloak.org/docs-api/22.0.1/rest-api/index.html#_clients