Keystore provides a way to securely store keys required for encryption of data in event payloads


Keystore

KeystoreConfig

Describes the configuration for the keystore.
Device specific keys can be defined in the DeviceConfig.

Referenced By:
EdgeConnectConfig   RecipeDefinition  

Fields

NameTypeDescriptionRequired
eventmap of string to KeyDefinitionEvent Keys
Event keys exist during a single event's processing in a pipeline.
Once the event is done processing in a pipeline the keys are lost.
If an event is emitted from a pipeline, the event keys are not available in the new event.
No
globalmap of string to KeyDefinitionGlobal Keys
Global keys can be accessed at anytime
No

Reference

KeyDefinition

This section is used to define the keys that will be used in the keystore.

Referenced By:
DeviceType   KeystoreConfig   KeystoreConfig  

Fields

NameTypeDescriptionRequired
generatorstringSpecify the generator for the key, if unspecified the key must be set before using
available: rand, ecdh-P224, ecdh-P256, ecdh-P384
No
generatorConfigobjectConfiguration to pass to generatorNo
persistentbooleanStore key in persistent storage?No
typestringType of key
available: secret, keypair
Yes