A Secure Key is an identifier for an entry in Secure Storage. It is used to store information such as passphrases, cryptographic keys, passwords, and other sensitive information. Users can access and manage secure keys using the Secure Keys Microservices. Secure keys can also be accessed and managed from programs.

Accessing Secure Keys in Programs

Secure keys can be accessed in programs using the context object returned by the getContext() method. This object has these methods to access secure keys:

Managing Secure Keys in Programs

Secure keys can be added or deleted in programs using the Admin object available in programs as:

Admin admin = getContext().getAdmin();

The Admin object returned by the above call exposes these methods to manage secure keys:

For details on the setting the other parameters of the putSecureData() method, see the Secure Keys Microservices.

Related Topics