I can't configure SMTP to send users invitations on Enterprise Search

I enable RBAC User access on my Enterprise Search instance of Elastic Cloud. I added a user who is not currently registered into Elastic Cloud, an invitation email would usually be sent. Then I see it is necessary to change the configuration to enable the invitation email as it says in the documentation in this link:

So I go to the deployment configuration to edit the Enterprise Search instance user settings.
In Cloud>Deployments>My Deployment>Edit

I add the following configuration:

email.account:
   enabled: true
   smtp:
     auth:plain
     starttls.enable: true
     host: smtp.gmail.com
     port: 587
     user: myemail@gmail.com
     password: XXXXX
   email_defaults:
     from: noreply@gmail.com

And when I go to save the changes I get the following messages:
Your changes cannot be applied

Enterprise Search - 'email.account.email_defaults.from': is not allowed
Enterprise Search - 'email.account.smtp.password': is not allowed
Enterprise Search - 'email.account.smtp.user': is not allowed
Enterprise Search - 'email.account.smtp.port': is not allowed
Enterprise Search - 'email.account.smtp.host': is not allowed
Enterprise Search - 'email.account.smtp.starttls.enable': is not allowed
Enterprise Search - 'email.account.smtp.auth': is not allowed
Enterprise Search - 'email.account.enabled': is not allowed

How can I configure a smtp server to send user invitations emails in enterprise search?

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