Because of security reasons, we can't keep SQL authentication in plain text, is there a way to hide or encrypt passwords?
I am getting bad documentation and bad support from the plugin site. Unfortunately I can't keep this data in environment variables.
GitHub link: https://github.com/fluent/fluent-plugin-sql
<source>
@type sql
@id output_sql
host "sqlserverhost.aws_region.rds.amazonaws.com"
database db_name
adapter sqlserver
username user
password pwd ==============================>>>> This is in plain text
tag_prefix myrdb # optional, but recommended
select_interval 60s # optional
select_limit 500 # optional
state_file /var/run/fluentd/sql_state
<table>
table tbl_name
update_column insert_timestamp
</table>
</source>
<match **>
@type stdout
</match>