Skip to content

//misk-crypto/misk.crypto/LocalConfigKeyResolver

LocalConfigKeyResolver

[jvm]\ class LocalConfigKeyResolver(keys: List<Key>, defaultKmsUri: String) : KeyResolver

LocalConfigKeyResolver provides keys that are stored locally and protected by a single KMS key.

Constructors

LocalConfigKeyResolver [jvm]
constructor(keys: List<Key>, defaultKmsUri: String)

Properties

Name Summary
allKeyAliases [jvm]
open override val allKeyAliases: Map<KeyAlias, KeyType>
All resolved key aliases and their respective KeyTypes.

Functions

Name Summary
getKeyByAlias [jvm]
open override fun getKeyByAlias(alias: KeyAlias): Key?
Fetch and return a Key (includes contents, type and a KMS ARN) by its alias.