Interface KeyStoreSecretStore.StableIdProvider

  • Enclosing class:
    KeyStoreSecretStore
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface KeyStoreSecretStore.StableIdProvider
    An interface to allow the consuming application to provide the stable ID for the secret.
    See Also:
    Secret.getStableId()
    • Method Detail

      • stableIdFor

        String stableIdFor​(KeyStoreSecretStore.KeyDetails keyDetails,
                           Class<? extends Secret> secretType)
        Produce the secret's stable ID.
        Parameters:
        keyDetails - Details of the key.
        secretType - The type of secret.
        Returns:
        The stable ID.