> ## 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.

# Secure your metadata

> Serve your release metadata over HTTPS so launchers can trust it.

When you deploy and promote releases, the [deployment scripts](https://docs.directgvr.com/release-automation/deployment-scripts.md) create metadata files that launchers use to download and update. Because these files control what gets synced, the launcher must download them from an authenticated server over HTTPS.

> [!NOTE]
>
> Deployment scripts before version 4.0 could also sign metadata with a PEM code-signing certificate (`--pem_path`). Version 4.0 and newer only support HTTPS.

## Metadata files

| File | Created when you |
| - | - |
| `alias.json` | [Promote a release](https://docs.directgvr.com/release-automation/environments-and-promotion.md) |
| `catalog.json` | [Deploy a release](https://docs.directgvr.com/release-automation/deploy-a-release.md) or [copy a release](https://docs.directgvr.com/release-automation/copy-releases.md) |
| `metafile.json` | Deploy or copy a release, or [create update paths](https://docs.directgvr.com/release-automation/create-delta-update-paths.md) |

## Use HTTPS URLs for alias and catalog files

Your workflow sets the URLs for the alias and catalog files. Make sure they use HTTPS:

```yaml workflow.yaml theme={null}
load:
  type: macro
  keyValuePairs:
    repository: mygame-{systemShortName}
    repositoryTitle: My Game
    environment: production
    aliasUrl: https://<your-delivery-host>/<path>/
    repositoryName: "{repository}.{environment}"
    repositoryMetafile: "{repositoryName}.json"
    repositoryAliasUrl: "{aliasUrl}{repository}/alias.json"
    repositoryCatalogUrl: "{aliasUrl}{repository}/catalog/"
```

## Use an HTTPS URL for the metafile

The metafile URL is stored inside the catalog file, so set it when you deploy. `release_deploy.py`, `release_copy.py` and `update_path.py` accept `base_url_metafile` to set an HTTPS URL for the metafile only:

```json theme={null}
{
  "base_url": "http://<your-delivery-host>/<path>/",
  "base_url_metafile": "https://<your-delivery-host>/<path>/",
  "repository": "gameclient",
  "sync_directory": "<your-sync-directory>/",
  "source": "c:/builds/gameclient/2.3.18/",
  "version": "2.3.18"
}
```

`base_url` can stay HTTP. The launcher downloads `.solidpiece` and `.soliddelta` files from it, and those don't need HTTPS.

## Related

* [Alias, repository, environment and history files](https://docs.directgvr.com/release-automation/metadata-files.md)
* [Encrypt releases and update paths](https://docs.directgvr.com/release-automation/encrypt-releases.md)
* [Validate a file before launching it](https://docs.directgvr.com/launcher-design/validate-file-before-launch.md)


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