Enum Class VaultAuthenticationType

java.lang.Object
java.lang.Enum<VaultAuthenticationType>
io.quarkus.vault.runtime.config.VaultAuthenticationType
All Implemented Interfaces:
Serializable, Comparable<VaultAuthenticationType>, Constable

public enum VaultAuthenticationType extends Enum<VaultAuthenticationType>
  • Enum Constant Details

    • KUBERNETES

      public static final VaultAuthenticationType KUBERNETES
      Kubernetes vault authentication

      When running the application into kubernetes, it is possible to benefit from the vault/kubernetes integration for authentication. Once the kubernetes authentication has been enabled into vault, create a vault role associating one or more vault policies, with one or more service accounts and one or more namespaces. When selecting the kubernetes authentication type, specify the vault authentication role to use.

      see https://www.vaultproject.io/api/auth/kubernetes/index.html

    • USERPASS

      public static final VaultAuthenticationType USERPASS
      Username & password vault authentication

      Vault supports authentication through username and password. Before using it, userpass auth needs to be enabled in vault, and a user needs to be created with his password. This type of authentication is easy to use, and useful in development environments. When using in production, some care will have to be taken to keep some confidentiality on the password.

      https://www.vaultproject.io/api/auth/userpass/index.html

    • APPROLE

      public static final VaultAuthenticationType APPROLE
      Role & secret vault authentication using AppRole method

      https://www.vaultproject.io/api/auth/approle/index.html

  • Method Details

    • values

      public static VaultAuthenticationType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static VaultAuthenticationType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null