> ## Documentation Index
> Fetch the complete documentation index at: https://docs.directgvr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Encrypt releases and update paths

> Add AES-256 encryption to releases and delta update paths for sensitive deployments.

You can encrypt releases and update paths for an extra layer of security. AES-256 encryption is applied when the tools convert your files into `.solidpiece` and `.soliddelta` files.

## Encrypt a release

Set `password` when you run `release_deploy.py`, on the command line or in a JSON configuration file:

```bash theme={null}
release_deploy.py --repository=llama-game --source=C:\SSN\llama_game\releases\33\ --version=1.00.033 --sync_directory=<your-sync-directory>/ --base_url=https://<your-delivery-host>/<path>/ --password=<release-password>
```

```json deploy_with_encryption.json theme={null}
{
  "repository": "llama-game",
  "source": "C:/SSN/llama_game/releases/33/",
  "version": "1.00.033",
  "sync_directory": "<your-sync-directory>/",
  "base_url": "https://<your-delivery-host>/<path>/",
  "password": "<release-password>"
}
```

```bash theme={null}
release_deploy.py --config=c:\temp\path\to\deploy_with_encryption.json
```

## Encrypt update paths

Set `password` when you run `update_path.py`. Use the same password you used to encrypt the releases.

```bash theme={null}
update_path.py --repository=llama-game --target_version=1.00.033 --sync_directory=<your-sync-directory>/ --sources_before_target=3 --update_process=API --password=<release-password>
```

```json updatepaths_with_encryption.json theme={null}
{
  "repository": "llama-game",
  "sync_directory": "<your-sync-directory>/",
  "target_version": "1.00.033",
  "sources_before_target": 3,
  "update_process": "API",
  "password": "<release-password>"
}
```

```bash theme={null}
update_path.py --config=c:\temp\path\to\updatepaths_with_encryption.json
```

## What players see

When the launcher syncs an encrypted release or update path, it shows an encryption challenge screen. Players can save the credentials to their operating system's credential manager. Without the right credentials, they can't sync the release or use the update path.

## Related

* [Deploy a release](https://docs.directgvr.com/release-automation/deploy-a-release.md)
* [Create delta update paths](https://docs.directgvr.com/release-automation/create-delta-update-paths.md)
* [Options for securing metadata](https://docs.directgvr.com/release-automation/securing-metadata.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.