Archived | Create a secure mobile application where all data is encrypted in flight, at rest, and in use

Archived content

Archived date: 2020-01-17

This content is no longer being updated or maintained. The content is provided “as is.” Given the rapid evolution of technology, some content, steps, or illustrations may have changed.


This application comes pre-configured as an iOS app that integrates with more data security than your typical Mobile backend as a service (MBaaS) would. It offers integrations with Push Notifications and Hyper Protect Services. Hyper Protect Services bring continuous security to IBM Cloud, so all data is encrypted in flight, at rest, and in use.


You’re a mobile application developer, focused on the latest Swift and Android versions, and reading about SDK changes. But a modern mobile application now requires communication with the a backend service on a cloud. Cue the MBaaS model. Mobile backend as a service (MBaaS) is a model for providing mobile application developers a mechanism to communication with backend cloud services and APIs via SDKs. This code pattern will help you build an iOS application that takes advantage of IBM Hyper Protect Crypto Services, with Hyper Protect Crypto Services you can secure your data at rest, in use, and in transit.

This code pattern makes it very easy to follow a Cloud Native programming model that uses IBM’s best practices for app development. You’ll see things like test cases, health check, and metrics. If you click on Build on IBM Cloud at the top of the code pattern, you’ll be able to dynamically provision Cloud services. Those services will be automatically initialized in your generated application. Add a Watson service or add authentication with AppID.

This code pattern will teach you how to:

  • Build an iOS application
  • Provision and integrate with Push Notifications and Hyper Protect Crypto Services
  • Connect to additional IBM Cloud services


Secure server-side app with Kitura and Hyper Protect services architecture diagram

  1. User experience platforms like Mobile and Web Apps, which can be supported in languages such as Node.js, Java, or Swift, communicate to their own backend for frontend server, in order to gather the appropriate APIs and service requests needed.
  2. Each Backend for Frontend calls the Hyper Protect DBaaS and any other necessary services that are requested by the frontend.


See the detailed instructions in the README file.

Steve Martinelli
Chris Poole
Dolph Mathews
Sara Samani
Emma Tucker
Jennie Oliver
Joy Chang