Skip to content

Commit

Permalink
secrets providers: support for resolving secrets in BasicExpressionFu…
Browse files Browse the repository at this point in the history
…nctions
  • Loading branch information
1azyman committed Feb 14, 2024
1 parent e4d5ae2 commit d012cd3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

package com.evolveum.midpoint.prism.crypto;

import java.nio.ByteBuffer;
import java.util.List;

import org.jetbrains.annotations.NotNull;
Expand All @@ -30,4 +31,8 @@ public interface SecretsResolver {
* @return List of usable secret providers.
*/
@NotNull List<SecretsProvider<?>> getSecretsProviders();

@NotNull String resolveSecretString(@NotNull String provider, @NotNull String key) throws EncryptionException;

@NotNull ByteBuffer resolveSecretBinary(@NotNull String provider, @NotNull String key) throws EncryptionException;
}

0 comments on commit d012cd3

Please sign in to comment.