# AWS secrets for ECK

**URL:** <https://discuss.elastic.co/t/aws-secrets-for-eck/354294>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [February 28, 2024, 5:41am UTC](https://discuss.elastic.co/t/aws-secrets-for-eck/354294 "2024-02-28T05:41:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nau79](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@Nau79](https://discuss.elastic.co/u/Nau79)\
**Post date:** [February 28, 2024, 5:41am UTC](https://discuss.elastic.co/t/aws-secrets-for-eck/354294/1 "2024-02-28T05:41:31Z")

</div>

Hi All,

I want to use aws secrets to store Kibana login credentials and pass them in the kibana deployment, has anyone done this before and any help is appreciated.

```auto
apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
  name: kibana-sample
spec:
  version: 8.12.2
  count: 1
  config:
    elasticsearch.hosts:
      - https://elasticsearch.example.com:9200
    elasticsearch.username: elastic
  secureSettings:
    - secretName: kibana-elasticsearch-credentials

```

In the above example I need the user name elastic to be retrieved from aws secrets.

TIA

---

<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 27, 2024, 5:41am UTC](https://discuss.elastic.co/t/aws-secrets-for-eck/354294/2 "2024-03-27T05:41:59Z")

</div>

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