# How to enable security APi

**URL:** https://discuss.elastic.co/t/how-to-enable-security-api/297259
**Category:** Elasticsearch
**Tags:** elastic-stack-security
**Created:** [February 15, 2022, 2:45pm UTC](https://discuss.elastic.co/t/how-to-enable-security-api/297259 "2022-02-15T14:45:40Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Bhanuji\_paluri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhanuji_paluri/32/101841_2.png) [@Bhanuji\_paluri](https://discuss.elastic.co/u/Bhanuji_paluri)
#### Post date: [February 15, 2022, 2:45pm UTC](https://discuss.elastic.co/t/how-to-enable-security-api/297259/1 "2022-02-15T14:45:40Z")

</div>

how to enable security APi ,

please guide with steps

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [February 15, 2022, 11:40pm UTC](https://discuss.elastic.co/t/how-to-enable-security-api/297259/2 "2022-02-15T23:40:52Z")

</div>

Welcome to our community! 😃

Which API are you referring to?

---

<div class="post-metadata">

### Author: ![Bhanuji\_paluri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhanuji_paluri/32/101841_2.png) [@Bhanuji\_paluri](https://discuss.elastic.co/u/Bhanuji_paluri)
#### Post date: [February 16, 2022, 10:34am UTC](https://discuss.elastic.co/t/how-to-enable-security-api/297259/3 "2022-02-16T10:34:05Z")

</div>

Security Api enabling in elastic to generate token

---

<div class="post-metadata">

### Author: ![Bhanuji\_paluri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhanuji_paluri/32/101841_2.png) [@Bhanuji\_paluri](https://discuss.elastic.co/u/Bhanuji_paluri)
#### Post date: [February 22, 2022, 7:49am UTC](https://discuss.elastic.co/t/how-to-enable-security-api/297259/4 "2022-02-22T07:49:25Z")

</div>

@warkolm - please reply

---

<div class="post-metadata">

### Author: ![zx8086](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zx8086/32/94917_2.png) [@zx8086](https://discuss.elastic.co/u/zx8086)
#### Post date: [February 22, 2022, 7:59am UTC](https://discuss.elastic.co/t/how-to-enable-security-api/297259/5 "2022-02-22T07:59:22Z")

</div>

You first need to enable TLS / SSL and then from Stack Management you can create API Keys.

---

<div class="post-metadata">

### Author: ![Bhanuji\_paluri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhanuji_paluri/32/101841_2.png) [@Bhanuji\_paluri](https://discuss.elastic.co/u/Bhanuji_paluri)
#### Post date: [February 22, 2022, 5:16pm UTC](https://discuss.elastic.co/t/how-to-enable-security-api/297259/6 "2022-02-22T17:16:27Z")

</div>

can you explain me briefly

---

<div class="post-metadata">

### Author: ![Bhanuji\_paluri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhanuji_paluri/32/101841_2.png) [@Bhanuji\_paluri](https://discuss.elastic.co/u/Bhanuji_paluri)
#### Post date: [February 22, 2022, 5:19pm UTC](https://discuss.elastic.co/t/how-to-enable-security-api/297259/7 "2022-02-22T17:19:23Z")

</div>

how to create API key under stack management?

---

<div class="post-metadata">

### Author: ![zx8086](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zx8086/32/94917_2.png) [@zx8086](https://discuss.elastic.co/u/zx8086)
#### Post date: [February 22, 2022, 6:31pm UTC](https://discuss.elastic.co/t/how-to-enable-security-api/297259/8 "2022-02-22T18:31:25Z")

</div>

Stack Management -\> Security... API Keys .. Create API Key

 ![Screen Shot 2022-02-22 at 7.28.57 PM](https://us1.discourse-cdn.com/elastic/original/3X/9/e/9e51ef6eede030a14574eac1c30024bbd0763985.png)  
 ![Screen Shot 2022-02-22 at 7.29.11 PM](https://us1.discourse-cdn.com/elastic/original/3X/9/8/988f62d422ab58b302d0ecd07751812210d22473.jpeg)  
 ![Screen Shot 2022-02-22 at 7.29.25 PM](https://us1.discourse-cdn.com/elastic/original/3X/a/6/a611ce74c7816b4aa838cd6c629946b3999d6605.jpeg)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 22, 2022, 6:31pm UTC](https://discuss.elastic.co/t/how-to-enable-security-api/297259/9 "2022-03-22T18:31:45Z")

</div>

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