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

io.quarkus.vault.runtime.config.VaultKubernetesAuthenticationConfig Maven / Gradle / Ivy

package io.quarkus.vault.runtime.config;

import static io.quarkus.vault.runtime.config.VaultBootstrapConfig.DEFAULT_KUBERNETES_AUTH_MOUNT_PATH;
import static io.quarkus.vault.runtime.config.VaultBootstrapConfig.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