# Kibana 7.13.1 Windows - kibana-encryption-keys

**URL:** <https://discuss.elastic.co/t/kibana-7-13-1-windows-kibana-encryption-keys/275695>\
**Category:** Kibana\
**Tags:** windows\
**Created:** [June 11, 2021, 3:44pm UTC](https://discuss.elastic.co/t/kibana-7-13-1-windows-kibana-encryption-keys/275695 "2021-06-11T15:44:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KSib](https://avatars.discourse-cdn.com/v4/letter/k/838e76/32.png) [@KSib](https://discuss.elastic.co/u/KSib)\
**Post date:** [June 11, 2021, 3:44pm UTC](https://discuss.elastic.co/t/kibana-7-13-1-windows-kibana-encryption-keys/275695/1 "2021-06-11T15:44:30Z")

</div>

Hi there, from a fresh install of Kibana, I see the following warnings

```auto
  log [17:57:12.982] [info][plugins][taskManager] TaskManager is identified by the Kibana UUID: 2e13faf3-b90d-44dd-bfe8-07962b2b6a2a
  log [17:57:13.371] [warning][config][plugins][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
  log [17:57:13.372] [warning][config][plugins][security] Session cookies will be transmitted over insecure connections. This is not recommended.
  log [17:57:13.431] [warning][config][plugins][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.reporting.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
  log [17:57:13.447] [info][config][plugins][reporting] Chromium sandbox provides an additional layer of protection, and is supported for Win32 OS. Automatically enabling Chromium sandbox.
  log [17:57:13.448] [warning][encryptedSavedObjects][plugins] Saved objects encryption key is not set. This will severely limit Kibana functionality. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
  log [17:57:13.598] [warning][actions][actions][plugins] APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
  log [17:57:13.612] [warning][alerting][alerting][plugins][plugins] APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.

```

These are pretty easy to understand, just put an encryption key where it's telling me to. The docs even say to use `An arbitrary string of 32 characters or more`

The problem I'm having is that it's saying to `use the bin/kibana-encryption-keys command.` Where is this file? It's certainly not in the bin folder. Thanks!

---

<div class="post-metadata">

**Author:** ![ropc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ropc/32/47022_2.png) [@ropc](https://discuss.elastic.co/u/ropc)\
**Post date:** [June 12, 2021, 2:09pm UTC](https://discuss.elastic.co/t/kibana-7-13-1-windows-kibana-encryption-keys/275695/2 "2021-06-12T14:09:34Z")

</div>

Hi @KSib - Thanks for reporting this problem. The script is missing in the Windows package. I opened [`bin/kibana-encryption-keys.bat` is missing in the Windows package](https://github.com/elastic/kibana/issues/102013) to track this. Thank you 🙂

---

<div class="post-metadata">

**Author:** ![KSib](https://avatars.discourse-cdn.com/v4/letter/k/838e76/32.png) [@KSib](https://discuss.elastic.co/u/KSib)\
**Post date:** [June 12, 2021, 2:33pm UTC](https://discuss.elastic.co/t/kibana-7-13-1-windows-kibana-encryption-keys/275695/3 "2021-06-12T14:33:56Z")

</div>

Thank you very much. I appreciate it.

---

<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:** [July 10, 2021, 2:34pm UTC](https://discuss.elastic.co/t/kibana-7-13-1-windows-kibana-encryption-keys/275695/4 "2021-07-10T14:34:14Z")

</div>

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