# Identity-based authentication for automated pipeline deployments of Elastic Hosted and Serverless

**URL:** <https://discuss.elastic.co/t/identity-based-authentication-for-automated-pipeline-deployments-of-elastic-hosted-and-serverless/380148>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [July 15, 2025, 8:41pm UTC](https://discuss.elastic.co/t/identity-based-authentication-for-automated-pipeline-deployments-of-elastic-hosted-and-serverless/380148 "2025-07-15T20:41:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexyuwenaveva](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexyuwenaveva/32/144181_2.png) [@alexyuwenaveva](https://discuss.elastic.co/u/alexyuwenaveva)\
**Post date:** [July 15, 2025, 8:41pm UTC](https://discuss.elastic.co/t/identity-based-authentication-for-automated-pipeline-deployments-of-elastic-hosted-and-serverless/380148/1 "2025-07-15T20:41:17Z")

</div>

I would like to:

- set up automated pipeline deployments of both Elastic Hosted and Serverless
- avoid the inherent riskiness and fragility of API keys
- instead, use something like service principal or managed identity

My company already has an Enterprise account with Elastic. Is it possible to configure identity-based authentication at the Elastic account level?
