Enterprise search installation gives API key error

Hey @ross.bell

Here are my yml settings:

elasticsearch.yml

###Uncommented lines
xpack.security.enabled: true
xpack.security.authc.api_key.enabled: true

enterprise-search.yml

elasticsearch.username: elastic
elasticsearch.password: MyPassword
allow_es_settings_modification: true
secret_management.encryption_keys: [b85fec18066999ecf0a8f03b861a084d661feb265703123f1f023104ba87322e, 04f98e745b2e408f1ec5ef70463308781f6472d28091024aa75faf1e69c2e619]
kibana.external_url: http://localhost:5601
ent_search.auth.source: standard
ent_search.external_url: http://localhost:3002

kibana.yml

elasticsearch.username: elastic
elasticsearch.password: MyPassword
enterpriseSearch.host: http://localhost:3002

Here are my yml settings.
But I keep getting the same error even after restarting all services.
Kindly help