# Eck-licence from external secret

**URL:** https://discuss.elastic.co/t/eck-licence-from-external-secret/343348
**Category:** Elastic Cloud on Kubernetes (ECK)
**Tags:** license
**Created:** [September 19, 2023, 10:59am UTC](https://discuss.elastic.co/t/eck-licence-from-external-secret/343348 "2023-09-19T10:59:10Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Francisco\_Javier\_Ort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/francisco_javier_ort/32/122632_2.png) [@Francisco\_Javier\_Ort](https://discuss.elastic.co/u/Francisco_Javier_Ort)
#### Post date: [September 19, 2023, 10:59am UTC](https://discuss.elastic.co/t/eck-licence-from-external-secret/343348/1 "2023-09-19T10:59:10Z")

</div>

Hi All,  
according to this [Manage licenses in ECK | Elastic Cloud on Kubernetes [2.9] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-licensing.html) we need to create a secret eck-license to add our licence.  
Will it work if we create the same but using an ExternalSecret ?  
Thanks

---

<div class="post-metadata">

### Author: ![michael.morello](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael.morello/32/47448_2.png) [@michael.morello](https://discuss.elastic.co/u/michael.morello)
#### Post date: [September 19, 2023, 11:45am UTC](https://discuss.elastic.co/t/eck-licence-from-external-secret/343348/2 "2023-09-19T11:45:37Z")

</div>

Hi, it should work as long as the [expected value and label](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-licensing.html#k8s-add-license) exist in the target `Secret` .

---

<div class="post-metadata">

### Author: ![Francisco\_Javier\_Ort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/francisco_javier_ort/32/122632_2.png) [@Francisco\_Javier\_Ort](https://discuss.elastic.co/u/Francisco_Javier_Ort)
#### Post date: [September 19, 2023, 1:00pm UTC](https://discuss.elastic.co/t/eck-licence-from-external-secret/343348/3 "2023-09-19T13:00:25Z")

</div>

Hi , just to confirm. My idea is not to create a Secret, is to create an ExternalSecret I understand that from your comment that eck will be able to read that ExternalSecret.  
Is that correct ?  
thanks

---

<div class="post-metadata">

### Author: ![michael.morello](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael.morello/32/47448_2.png) [@michael.morello](https://discuss.elastic.co/u/michael.morello)
#### Post date: [September 19, 2023, 1:55pm UTC](https://discuss.elastic.co/t/eck-licence-from-external-secret/343348/4 "2023-09-19T13:55:05Z")

</div>

> [@Francisco\_Javier\_Ort](#):
>
> My idea is not to create a Secret

In that case I think it won't work. ECK is expecting a [corev1.Secret](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#secret-v1-core).

---

<div class="post-metadata">

### Author: ![Francisco\_Javier\_Ort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/francisco_javier_ort/32/122632_2.png) [@Francisco\_Javier\_Ort](https://discuss.elastic.co/u/Francisco_Javier_Ort)
#### Post date: [September 19, 2023, 2:10pm UTC](https://discuss.elastic.co/t/eck-licence-from-external-secret/343348/5 "2023-09-19T14:10:52Z")

</div>

Thanks a lot

---

<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: [October 17, 2023, 2:10pm UTC](https://discuss.elastic.co/t/eck-licence-from-external-secret/343348/6 "2023-10-17T14:10:57Z")

</div>

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