GitHub Action for Importing Code-signing Certificates into a Keychain
TypeScript
283
333 commits
updated Sep 14, 2026
Use the same GitHub secrets as the rest of the Apple-Actions suite.
| Kind | Name | Purpose |
|---|---|---|
| Secret | APPSTORE_CERTIFICATES_FILE_BASE64 | Base64-encoded signing .p12 |
| Secret | APPSTORE_CERTIFICATES_PASSWORD | Password for the .p12 |
Related ASC API vars/secrets (used by download-profiles / upload-testflight): APPSTORE_ISSUER_ID, APPSTORE_API_KEY_ID, APPSTORE_API_PRIVATE_KEY.
Recommended: use the setup scripts in download-provisioning-profiles (scripts/setup.sh or scripts/create-signing-certificate.sh --p12-password ...). That creates the distribution certificate via the App Store Connect API and prints values for the secrets above.
Manual alternative:
iOS Distribution (App Store Connect and Ad Hoc) certificateios_distribution.cer, import into Keychain Access → login → My Certificates, export as .p12base64 -i ios_distribution.p12 | pbcopy → secret APPSTORE_CERTIFICATES_FILE_BASE64, plus APPSTORE_CERTIFICATES_PASSWORDuses: apple-actions/import-codesign-certs@v7
with:
p12-file-base64: ${{ secrets.APPSTORE_CERTIFICATES_FILE_BASE64 }}
p12-password: ${{ secrets.APPSTORE_CERTIFICATES_PASSWORD }}
If you need to add multiple certificates, select them all in the keychain when creating your p12 file. You do not need multiple separate steps.
See action.yml for more details.
We welcome your interest in contributing to this project. Please read the Contribution Guidelines for more guidance.
Any contributions made under this project will be governed by the MIT License.
TypeScript
94.0%
JavaScript
6.0%
GitHub Action for Importing Code-signing Certificates into a Keychain
TypeScript
283
333 commits
updated Sep 14, 2026
Use the same GitHub secrets as the rest of the Apple-Actions suite.
| Kind | Name | Purpose |
|---|---|---|
| Secret | APPSTORE_CERTIFICATES_FILE_BASE64 | Base64-encoded signing .p12 |
| Secret | APPSTORE_CERTIFICATES_PASSWORD | Password for the .p12 |
Related ASC API vars/secrets (used by download-profiles / upload-testflight): APPSTORE_ISSUER_ID, APPSTORE_API_KEY_ID, APPSTORE_API_PRIVATE_KEY.
Recommended: use the setup scripts in download-provisioning-profiles (scripts/setup.sh or scripts/create-signing-certificate.sh --p12-password ...). That creates the distribution certificate via the App Store Connect API and prints values for the secrets above.
Manual alternative:
iOS Distribution (App Store Connect and Ad Hoc) certificateios_distribution.cer, import into Keychain Access → login → My Certificates, export as .p12base64 -i ios_distribution.p12 | pbcopy → secret APPSTORE_CERTIFICATES_FILE_BASE64, plus APPSTORE_CERTIFICATES_PASSWORDuses: apple-actions/import-codesign-certs@v7
with:
p12-file-base64: ${{ secrets.APPSTORE_CERTIFICATES_FILE_BASE64 }}
p12-password: ${{ secrets.APPSTORE_CERTIFICATES_PASSWORD }}
If you need to add multiple certificates, select them all in the keychain when creating your p12 file. You do not need multiple separate steps.
See action.yml for more details.
We welcome your interest in contributing to this project. Please read the Contribution Guidelines for more guidance.
Any contributions made under this project will be governed by the MIT License.
TypeScript
94.0%
JavaScript
6.0%