Elasticsearch JDBC Rivers Security

Hi the elasticsearch river mapping that we are going to create is it secure. is it possible to get the jdbc river mapping that will return db credentials?

The password is stored in clear text. Therefore, you are advised to create a special user with minimal privileges.

You should upgrade and use JDBC importer. JDBC importer is not storing JDBC password in ES.