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

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

There is a newer version: 3.0.0.Beta1
Show newest version
package io.quarkus.vault.runtime.config;

import java.util.Optional;

import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;

@ConfigGroup
public class VaultUserpassAuthenticationConfig {

    /**
     * User for userpass auth method. This property is required when selecting the userpass authentication type.
     */
    @ConfigItem
    public Optional username;

    /**
     * Password for userpass auth method. This property is required when selecting the userpass authentication type.
     */
    @ConfigItem
    public Optional password;

    /**
     * Wrapping token containing a Password, obtained from:
     * 

* vault kv get -wrap-ttl=60s secret/ *

* The key has to be 'password', meaning the password has initially been provisioned with: *

* vault kv put secret/ password= *

* password and password-wrapping-token are exclusive */ @ConfigItem public Optional passwordWrappingToken; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy