Portal Community

What API Keys Are Used For

Publisher API keys allow automated tooling to interact with the MarketHub publisher API on behalf of a publisher organization. The primary use case is CI/CD pipeline integration — automatically publishing new package versions when a build succeeds.

Use CaseExample
Automated version publishingGitHub Actions workflow that builds, exports via InstallHub CLI, and publishes to MarketHub on merge to main
Package metadata updatesScript that updates the package description from a README file in the repository
Screenshot uploadsAutomated screenshot capture pipeline that updates package screenshots on each release

API Key Permissions

Publisher API keys are scoped exclusively to publish operations for the publisher's own packages. They cannot access other publishers' data, admin functions, or user data.

OperationAllowed via API Key?
Upload new package versionYes
Submit package for reviewYes
Update package description / tags / screenshotsYes
Withdraw a submissionYes
Read package analyticsYes (own packages only)
Access admin functionsNo
Access earnings / payoutNo — requires session authentication
Delete a packageNo — requires session authentication

Creating an API Key

FieldDescription
Key NameDescriptive label — e.g., "GitHub Actions Production", "Jenkins Pipeline"
Expiry90 days / 1 year / Never — choose based on security policy
IP Whitelist (optional)Restrict key to specific IP ranges — recommended for production CI/CD

After creating a key, the full key value is shown once — copy it immediately and store it in your secret manager. The key value cannot be retrieved again after the creation dialog is closed.

Treat API keys as secrets

Never commit API keys to source code repositories. Use your CI/CD system's secret store (GitHub Actions Secrets, Jenkins Credentials, Azure Key Vault, etc.) to store the key value and inject it as an environment variable at build time.

Revoking an API Key

Revoke a key immediately if it is compromised or no longer needed. Revocation is instant — the key is invalidated within 60 seconds and any in-flight requests using it will fail. Revoked keys appear in the key list as "Revoked" for audit purposes and cannot be re-enabled.