This guide shows how to load a private , which is stored on the device. The key must be loaded when Alice wants to some data, any encrypted content, and perform cryptographic operations.
Set up your project environment before you begin to load a Virgil Key, with the getting started guide.
In order to load the Virgil Key from the default storage:
virgil = Virgil("[YOUR_ACCESS_TOKEN_HERE]")
- Alice has to load her Virgil Key from the protected storage and enter the Virgil Key's password
# load a Virgil Key from storage
alice_key = virgil.keys.load("[KEY_NAME]", "[OPTIONAL_KEY_PASSWORD]")
To load a Virgil Key from a specific storage, developers need to change the storage path during Virgil SDK initialization.