You can directly add the keys in the portal for Elastic Search integration,
If you adding via the vpc agent, see the sample credentials for adding elastic search. Check the sample here.
If you adding via the vpc agent, see the sample credentials for adding elastic search. Check the sample here.