This guide shows how to save a from the default storage after its generation.
Set up your project environment before you begin to generate a Virgil Key, with the getting started guide.
In order to save the Virgil Key we need to:
let virgil = VSSVirgilApi(token: "[YOUR_ACCESS_TOKEN_HERE]")
- Save Alice's Virgil Key in the protected storage on the device
// save Virgil Key into storage
try! aliceKey.store(withName: @"[KEY_NAME]",
Developers can also change the Virgil Key storage directory as needed, during Virgil SDK initialization.