Import certificate from inputfile into a keychain

Import certificates into the current default keychain. Use create_keychain to create a new keychain.

Supported platforms ios, android, mac
Author @gin0606

2 Examples

import_certificate(certificate_path: "certs/AppleWWDRCA.cer")
  certificate_path: "certs/dist.p12",
  certificate_password: ENV["CERTIFICATE_PASSWORD"] || "default"


Key Description
keychain_name Keychain the items should be imported to
keychain_path Path to the Keychain file to which the items should be imported
keychain_password The password for the keychain. Note that for the login keychain this is your user's password
certificate_path Path to certificate
certificate_password Certificate password
log_output If output should be logged to the console

To show the documentation in your terminal, run

fastlane action import_certificate

View source code

Back to actions