io.quarkus.vault.runtime.config.VaultKubernetesAuthenticationConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-vault Show documentation
Show all versions of quarkus-vault Show documentation
Store your credentials securely in HashiCorp Vault
package io.quarkus.vault.runtime.config;
import static io.quarkus.vault.runtime.config.VaultRuntimeConfig.DEFAULT_KUBERNETES_AUTH_MOUNT_PATH;
import static io.quarkus.vault.runtime.config.VaultRuntimeConfig.DEFAULT_KUBERNETES_JWT_TOKEN_PATH;
import java.util.Optional;
import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;
@ConfigGroup
public class VaultKubernetesAuthenticationConfig {
/**
* Kubernetes authentication role that has been created in Vault to associate Vault policies, with
* Kubernetes service accounts and/or Kubernetes namespaces. This property is required when selecting
* the Kubernetes authentication type.
*/
@ConfigItem
public Optional role;
/**
* Location of the file containing the Kubernetes JWT token to authenticate against
* in Kubernetes authentication mode.
*/
@ConfigItem(defaultValue = DEFAULT_KUBERNETES_JWT_TOKEN_PATH)
public String jwtTokenPath;
/**
* Allows configure Kubernetes authentication mount path.
*/
@ConfigItem(defaultValue = DEFAULT_KUBERNETES_AUTH_MOUNT_PATH)
public String authMountPath;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy