Skip to content

Structure

KeychainHelper

Wraps macOS security CLI commands for keychain management.

struct KeychainHelper

Overview

Used by SignAction to create temporary CI keychains, install certificates, and clean up after a build run.

Usage

let keychain = KeychainHelper()
try await keychain.createTemporaryKeychain(name: "shipit-ci", context: context)
try await keychain.installCertificate(p12Path: "./cert.p12", context: context)
try await keychain.cleanupTemporaryKeychain(context: context)

Topics

Initializers

  • init()

    Creates a KeychainHelper.

Type Properties

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype