apple-actions/Import Code-Signing Certificates

Imports a PKCS12 certificate and private key into a macOS Keychain.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 17, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: apple-actions/import-codesign-certs@5142e029c445c10ffc7149d172e540235a065466 # v7.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
keychainThe name of the keychain to import into.yessigning_temp
create-keychainA boolean indicating whether to create the keychain.yestrue
keychain-passwordThe password to use with the keychain. Gets auto-generated if keychain is "signing_temp".no
p12-filepathThe path to the PKCS12 file to import.no
p12-file-base64The certificates in a PKCS12 file encoded as a base64 string.no
p12-passwordThe password used to import the PKCS12 file.yes
namedescription
keychain-passwordThe password for temporary keychain.
security-responseThe output of the security commands.