Install Apple Certificate task
Azure DevOps Services | Azure DevOps Server 2020 | Azure DevOps Server 2019 | TFS 2018
Use this task to install an Apple certificate that is required to build on a macOS agent. You can use this task to install an Apple certificate that is stored as a secure file on the server.
Demands
xcode
YAML snippet
# Install Apple certificate
# Install an Apple certificate required to build on a macOS agent machine
- task: InstallAppleCertificate@2
inputs:
certSecureFile:
#certPwd: # Optional
#keychain: 'temp' # Options: default, temp, custom
#keychainPassword: # Required when keychain == Custom || Keychain == Default
#customKeychainPath: # Required when keychain == Custom
#deleteCert: # Optional
#deleteCustomKeychain: # Optional
#signingIdentity: # Optional
Arguments
| Argument | Description |
|---|---|
| Certificate (P12) | Select the certificate (.p12) that was uploaded to Secure Files to install on the macOS agent. |
| Certificate (P12) Password | Password to the Apple certificate (.p12). Use a new build variable with its lock enabled on the Variables tab to encrypt this value. |
| Advanced - Keychain | Select the keychain in which to install the Apple certificate. You can choose to install the certificate in a temporary keychain (default), the default keychain or a custom keychain. A temporary keychain will always be deleted after the build or release is complete. |
| Advanced - Keychain Password | Password to unlock the keychain. Use a new build variable with its lock enabled on the Variables tab to encrypt this value. A password is generated for the temporary keychain if not specified. |
| Advanced - Delete Certificate from Keychain | Select to delete the certificate from the keychain after the build or release is complete. This option is visible when custom keychain or default keychain are selected. |
| Advanced - Custom Keychain Path | Full path to a custom keychain file. The keychain will be created if it does not exist. This option is visible when a custom keychain is selected. |
| Advanced - Delete Custom Keychain | Select to delete the custom keychain from the agent after the build or release is complete. This option is visible when a custom keychain is selected. |
Feedback
Issottometti u ara feedback għal