Skip to content

Credentials

AzureDoom edited this page Aug 5, 2026 · 2 revisions

Credentials

Create a key.properties file in your project root for local API keys.

Do not commit this file. HytalePublisher will automatically add key.properties to .gitignore when possible.

modTaleKey=your-modtale-api-key
curseKey=your-curseforge-api-token
modifoldKey=your-modifold-bearer-token
thunderstoreToken=your-thunderstore-service-account-token
githubToken=your-github-personal-access-token
mavenUsername=your-repo-username
mavenPassword=your-repo-password-or-token

Project IDs should be configured in the Gradle DSL, not in key.properties.

You can get your API from the following links:

Environment variable support

Credentials can also be provided through environment variables. This is recommended for CI/CD workflows.

Platform key.properties key Environment variable
Modtale modTaleKey MODTALE_KEY
CurseForge curseKey CURSE_KEY
Modifold modifoldKey MODIFOLD_KEY
Thunderstore thunderstoreToken TCLI_AUTH_TOKEN
GitHub githubToken GITHUB_TOKEN
Maven mavenUsername MAVEN_USERNAME
Maven mavenPassword MAVEN_PASSWORD

Clone this wiki locally