Enum VaultProperties.AuthenticationMethod
- java.lang.Object
-
- java.lang.Enum<VaultProperties.AuthenticationMethod>
-
- org.springframework.cloud.vault.config.VaultProperties.AuthenticationMethod
-
- All Implemented Interfaces:
Serializable,Comparable<VaultProperties.AuthenticationMethod>
- Enclosing class:
- VaultProperties
public static enum VaultProperties.AuthenticationMethod extends Enum<VaultProperties.AuthenticationMethod>
Enumeration of authentication methods.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VaultProperties.AuthenticationMethodvalueOf(String name)Returns the enum constant of this type with the specified name.static VaultProperties.AuthenticationMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPID
public static final VaultProperties.AuthenticationMethod APPID
-
APPROLE
public static final VaultProperties.AuthenticationMethod APPROLE
-
AWS_EC2
public static final VaultProperties.AuthenticationMethod AWS_EC2
-
AWS_IAM
public static final VaultProperties.AuthenticationMethod AWS_IAM
-
AZURE_MSI
public static final VaultProperties.AuthenticationMethod AZURE_MSI
-
CERT
public static final VaultProperties.AuthenticationMethod CERT
-
CUBBYHOLE
public static final VaultProperties.AuthenticationMethod CUBBYHOLE
-
GCP_GCE
public static final VaultProperties.AuthenticationMethod GCP_GCE
-
GCP_IAM
public static final VaultProperties.AuthenticationMethod GCP_IAM
-
KUBERNETES
public static final VaultProperties.AuthenticationMethod KUBERNETES
-
NONE
public static final VaultProperties.AuthenticationMethod NONE
-
PCF
public static final VaultProperties.AuthenticationMethod PCF
-
TOKEN
public static final VaultProperties.AuthenticationMethod TOKEN
-
-
Method Detail
-
values
public static VaultProperties.AuthenticationMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VaultProperties.AuthenticationMethod c : VaultProperties.AuthenticationMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VaultProperties.AuthenticationMethod valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-