Interface DecodableSecret


public interface DecodableSecret
Represents a Decodable secret. Exposes both metadata and the secret value. Can be used to e.g. inject a password to an external system like this:

SourceFunction<String> sourceFunction = SqlServerSource.<String>builder()
   .hostname("localhost")
   .port(1433)
   .database("inventory")
   .tableList("dbo.items")
   .username("my-sql-server-user")
   .password(DecodableSecret.withName("my-sql-server-password").value())
   .deserializer(new JsonDebeziumDeserializationSchema())
   .build();
  • Method Details