# Can genkey generate key files in batches?

**URL:** https://community.wowza.com/t/can-genkey-generate-key-files-in-batches/53521
**Category:** Wowza Streaming Engine
**Created:** [June 18, 2019, 2:48pm UTC](https://community.wowza.com/t/can-genkey-generate-key-files-in-batches/53521 "2019-06-18T14:48:45Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![lebert\_party](https://avatars.discourse-cdn.com/v4/letter/l/9fc348/32.png) [@lebert\_party](https://community.wowza.com/u/lebert_party)
#### Post date: [June 18, 2019, 2:48pm UTC](https://community.wowza.com/t/can-genkey-generate-key-files-in-batches/53521/1 "2019-06-18T14:48:45Z")

</div>

I am using the vod hls stream and are ready to protect the HLS stream with AES-128 external encryption. If I have a lot of video files, how do I generate their key files in bulk, because if I generate them one by one, it will be too much trouble and time consuming. I want to ask for your help, sincere thanks.

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [June 18, 2019, 8:07pm UTC](https://community.wowza.com/t/can-genkey-generate-key-files-in-batches/53521/2 "2019-06-18T20:07:11Z")

</div>

There is a way to automate this in genkey, but I am looking to see if we have any documentation to assist you with that.

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [June 19, 2019, 5:25pm UTC](https://community.wowza.com/t/can-genkey-generate-key-files-in-batches/53521/3 "2019-06-19T17:25:57Z")

</div>

Thanks for your patience @lebert party. I checked with our engineers and there is a way to automate this. I am going to share this doc with you. Should you need assistance setting this up, please do not hesitate to submit a support ticket and we can assist.

1. [https://www.wowza.com/docs/how-to-secure-apple-http-live-streaming-aes-128-external-method#using-genkey](https://www.wowza.com/docs/how-to-secure-apple-http-live-streaming-aes-128-external-method#using-genkey)

---

<div class="post-metadata">

### Author: ![lebert\_party](https://avatars.discourse-cdn.com/v4/letter/l/9fc348/32.png) [@lebert\_party](https://community.wowza.com/u/lebert_party)
#### Post date: [June 21, 2019, 7:52pm UTC](https://community.wowza.com/t/can-genkey-generate-key-files-in-batches/53521/4 "2019-06-21T19:52:39Z")

</div>

Thank you.
