Error when try to configure password with keystore using elasticsearch 7

Hello,
I'm trying to configure email action in my watcher, and when I try to configure the password using this command
bin/elasticsearch-keystore add xpack.notification.email.account.gmail_account.smtp.secure_password

I get next error:
Exception in thread "main" ElasticsearchParseException[null-valued setting found for key [xpack.notification.email.account]found at line......]

my configuration in elasticsearch.yml is:
xpack.notification.email.account:
gmail_account:
profile:gmail
email_defaults:
from:'myemail@gmail.com'
smtp.host:smtp.gmail.com
smtp.auth:true
smtp.starttls.enable:true
smtp.user:myemail
smtp.port:587

thank you in advance for your help!!!!

regards

can you include a gist to your configuration (your full configuration please, also including indentation), and also include the full stack trace/error message including the correct line?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.