co-maps/docs/CREDENTIALS.md
2025-11-22 13:58:55 +01:00

3.2 KiB

This file contains a list of all sensitive credentials, access keys, authentication tokens, and security certificates used by CI/CD (Forgejo Actions).

PRIVATE_H

Shared compile-time secrets for all platforms.

gh secret set PRIVATE_H --env beta --body "$(base64 < private.h)"
gh secret set PRIVATE_H --env production --body "$(base64 < private.h)"

RELEASE_KEYSTORE

Android Java-compatible keystore with certificates used for signing APKs.

gh secret set RELEASE_KEYSTORE --env beta --body "$(base64 < android/app/release.keystore)"
gh secret set RELEASE_KEYSTORE --env production --body "$(base64 < android/app/release.keystore)"

SECURE_PROPERTIES

Android Gradle configuration file containing the passwords for the release.keystore.

gh secret set SECURE_PROPERTIES --env beta --body "$(base64 < android/app/secure.properties)"
gh secret set SECURE_PROPERTIES --env production --body "$(base64 < android/app/secure.properties)"

GOOGLE_PLAY_JSON

Credentials for uploading Android releases to Google Play.

gh secret set GOOGLE_PLAY_JSON --env production --body "$(base64 < android/app/google-play.json)"

HUAWEI_APPGALLERY_JSON

Credentials for uploading Android releases to Huawei AppGallery.

gh secret set HUAWEI_APPGALLERY_JSON --env production --body "$(base64 < android/app/huawei-appgallery.json)"

AGCONNECT_SERVICES_JSON

Credentials for Huawei Mobile Services (HMS) to use Location Kit (not yet finished).

gh secret set AGCONNECT_SERVICES_JSON --env beta --body "$(base64 < android/app/agconnect-services.json)"
gh secret set AGCONNECT_SERVICES_JSON --env production --body "$(base64 < android/app/agconnect-services.json)"

APPSTORE_JSON

Credentials for uploading iOS releases to Apple AppStore Connect.

gh secret set APPSTORE_JSON --env beta --body "$(base64 < xcode/keys/appstore.json)"
gh secret set APPSTORE_JSON --env production --body "$(base64 < xcode/keys/appstore.json)"

CERTIFICATES_DEV_P12

Credentials for signing iOS releases - dev keys.

gh secret set CERTIFICATES_DEV_P12 --env beta --body "$(base64 < xcode/keys/CertificatesDev.p12)"
gh secret set CERTIFICATES_DEV_P12 --env production --body "$(base64 < xcode/keys/CertificatesDev.p12)"

CERTIFICATES_DISTR_P12

Credentials for signing iOS releases - AppStore keys.

gh secret set CERTIFICATES_DISTR_P12 --env beta --body "$(base64 < xcode/keys/CertificatesDistr.p12)"
gh secret set CERTIFICATES_DISTR_P12 --env production --body "$(base64 < xcode/keys/CertificatesDistr.p12)"

APPSTORE_CERTIFICATE_PASSWORD

Password for CertificatesDistr.p12.

gh secret set APPSTORE_CERTIFICATE_PASSWORD --env beta
gh secret set APPSTORE_CERTIFICATE_PASSWORD --env production