Groovy Documentation

org.linkedin.glu.agent.rest.client
[Groovy] Interface EncryptionKeysProvider


interface EncryptionKeysProvider

Authors:
mdubey@linkedin.com


Method Summary
java.lang.Object createNewEncryptionKey(java.lang.String name)

Creates a new encryption key with the given name, and saves it in secret keystore.

java.util.Map getEncryptionKeys()

Get a map of all encryption keys that will be used to decrypt enctypted data.

 

Method Detail

createNewEncryptionKey

java.lang.Object createNewEncryptionKey(java.lang.String name)
Creates a new encryption key with the given name, and saves it in secret keystore.
Parameters:
name
Returns:


getEncryptionKeys

java.util.Map getEncryptionKeys()
Get a map of all encryption keys that will be used to decrypt enctypted data. This usually come from keystore on console side.
Returns:
Map of encryptionKeys


 

Groovy Documentation