---
sourceDocument: Yokohama Platform security
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/platform-security

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Create an encryption key stored in a file

# Create an encryption key stored in a file {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
You can use a simple text file as a keystore. Each file holds a single encryption
key.

## Before you begin

Role required: admin

## About this task

This step creates both the key storage and the encryption key.  
Note:  
The name of the key file must match the key alias specified in the encryption keys table in the instance. See [Configure encryption keys on the instance](https://servicenow-prod.fluidtopics.net/rkZcqk7A8zcjoDreGWljYg "Edge Encryption provides the tools to manage encryption keys without taking the proxy offline.").

## Procedure

1. Create a file in the /keys folder of the proxy server installation directory.
2. Add the encryption key to the file.

   | Option | Description |
   | AES 128 | Place the encryption key, exactly 16 bytes, into the file. |
   | AES 256 | Place the encryption key, exactly 32 bytes, into the file. |
   |-|-|

   {#t_CreateAFileStoreKeyStore__choicetable_sm3_f1b_tt}
3. Update the edgeencryption.properties file.
   1. Change to the \<installation directory\>/conf/ directory.
   2. Open the edgeencryption.properties file.
   3. Enter the properties for the [file store](https://servicenow-prod.fluidtopics.net/yIMUEnXqNMTlBnAWFKBT1w "The edgeencryption.properties configuration file located in the <installation directory>/conf/ folder contains properties used to configure your environment.").
   4. Save and close the file.
   {#t_CreateAFileStoreKeyStore__substeps_sbz_ny1_dt}

