Secrets externalization with Debezium connectors

Hi, I am getting an error when trying to use secret external file. Error message is below
org.apache.kafka.common.config.ConfigException: Could not read properties from file /data/

My worker configuration is:-
My connector configuration is :-
“database.user”: “${file:/data/}”,
“database.password”: “${file:/data/}”,

Please what can I do to resolve this.

Does the OS account running the Connect process have permission to read that file?