Interface IVaultResolver


public interface IVaultResolver
OSGi extension point net.bluemind.system.vaultResolver. Each implementation handles one vault backend, identified by its vaultId().
  • Method Summary

    Modifier and Type
    Method
    Description
    resolve(String secretId)
    Resolves the secret identified by secretId within this vault.
    default String
    store(String secretId, String value)
    Stores value under secretId and returns the canonical credential reference vault://<vaultId>/<secretId>.
    The vault identifier this resolver handles (e.g.
  • Method Details

    • vaultId

      String vaultId()
      The vault identifier this resolver handles (e.g. "etcd"). Must be unique across all registered resolvers.
    • resolve

      String resolve(String secretId) throws net.bluemind.core.api.fault.ServerFault
      Resolves the secret identified by secretId within this vault.
      Throws:
      net.bluemind.core.api.fault.ServerFault
    • store

      default String store(String secretId, String value) throws net.bluemind.core.api.fault.ServerFault
      Stores value under secretId and returns the canonical credential reference vault://<vaultId>/<secretId>. Resolvers that do not support writes should leave this default.
      Throws:
      net.bluemind.core.api.fault.ServerFault