Skip to content

Instantly share code, notes, and snippets.

@Mishco
Created June 2, 2022 07:40
Show Gist options
  • Save Mishco/6c8f80e376d21131a98ad2426029008d to your computer and use it in GitHub Desktop.
Save Mishco/6c8f80e376d21131a98ad2426029008d to your computer and use it in GitHub Desktop.
@Configuration
public class VaultConfig extends AbstractVaultConfiguration {
@Override
public ClientAuthentication clientAuthentication() {
return new TokenAuthentication("00000000-0000-0000-0000-000000000000");
}
@Override
public VaultEndpoint vaultEndpoint() {
return VaultEndpoint.create("vault", 8201);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment