All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.scalecube.config.vault.EnvironmentVaultTokenSupplier Maven / Gradle / Ivy

The newest version!
package io.scalecube.config.vault;

import com.bettercloud.vault.VaultConfig;
import java.util.Objects;

public class EnvironmentVaultTokenSupplier implements VaultTokenSupplier {

  public String getToken(VaultConfig config) {
    return Objects.requireNonNull(config.getToken(), "vault token");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy