Creating and Managing Security Keys — iPhone
Generate SDK security keys in Settings > In-Person Payments > iOS SDK Keys.
let config = CyoGateConfiguration(
apiKey: "YOUR_PUBLIC_API_KEY",
sdkPublicKey: loadKeyFromBundle("cyogate_public_key.pem"),
environment: .production
)Never include your private SDK key in your app bundle or source code.
Rotate keys periodically. Generate new keys before revoking old ones to avoid service disruption.
See the Tap to Pay on iPhone overview for full context and the complete topic list.