Create an encryption key stored in a file
task brazil Updated Sep 10, 2026 1 min read t_CreateAFileStoreKeyStore.md
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.
Procedure
-
Create a file in the
/keysfolder of the proxy server installation directory. -
Add the encryption key to the file.
|
AES 128 |
Place the encryption key, exactly 16 bytes, into the file. |
|
AES 256 |
Place the encryption key, exactly 32 bytes, into the file. |
1. Change to the `<installation directory>/conf/` directory.
2. Open the `edgeencryption.properties` file.
3. Enter the properties for the [file store](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/edge-encryption/edge-encryption-proxy-server-properties.md).
4. Save and close the file.
Parent Topic:Set up a keystore and encryption keys
65 lines · 2.2 KB
---
title: Create an encryption key stored in a file
description: You can use a simple text file as a keystore. Each file holds a single encryption key.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/platform-security/edge-encryption/t\_CreateAFileStoreKeyStore.html
release: brazil
product: Edge Encryption
classification: edge-encryption
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Set up a keystore and encryption keys, Install the Edge Encryption proxy server using the command line installer, Installing Edge Encryption, Edge Encryption, Encryption]
---
# Create an encryption key stored in a file
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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/edge-encryption/t_RotateEncryptionKeys.md).
## Procedure
1. Create a file in the `/keys` folder of the proxy server installation directory.
2. Add the encryption key to the file.
<table id="choicetable_sm3_f1b_tt"><tbody><tr><td id="d237576e88">
**AES 128**
</td><td>
Place the encryption key, exactly 16 bytes, into the file.
</td></tr><tr><td id="d237576e97">
**AES 256**
</td><td>
Place the encryption key, exactly 32 bytes, into the file.
</td></tr></tbody>
</table>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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/edge-encryption/edge-encryption-proxy-server-properties.md).
4. Save and close the file.
**Parent Topic:**[Set up a keystore and encryption keys](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/platform-security/edge-encryption/set-up-keystore.md)
| title | Create an encryption key stored in a file |
| description | You can use a simple text file as a keystore. Each file holds a single encryption key. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/platform-security/edge-encryption/t\_CreateAFileStoreKeyStore.html |
| release | brazil |
| product | Edge Encryption |
| classification | edge-encryption |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Set up a keystore and encryption keysInstall the Edge Encryption proxy server using the command line installerInstalling Edge EncryptionEdge EncryptionEncryption |