Structure
CertVault
Git-backed encrypted certificate and provisioning profile storage.
struct CertVaultOverview
Implements encrypted storage using AES-256-GCM encryption. Certificates and profiles are encrypted with the team passphrase and stored in a dedicated Git repository.
Usage
let vault = CertVault(gitUrl: "[email protected]:myteam/certs.git")
try await vault.initialize(context: context)
try await vault.sync(profileType: "appstore", context: context)Topics
Initializers
init(gitUrl: String)Creates a
CertVaultconnected to the given Git repository.
Instance Properties
let gitUrl: StringThe URL of the Git repository for certificate storage.
Instance Methods
func importCertificate(p12Path: String, provisioningProfilePath: String, context: ActionContext) async throwsImport an existing certificate into the encrypted storage.
func initialize(context: ActionContext) async throwsInitialize a new encrypted certificate repository.
func sync(gitUrl: String?, profileType: String, ciMode: Bool, context: ActionContext) async throwsSync certificates and profiles from the storage repository.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype