io.quarkus.vault.runtime.config.VaultUserpassAuthenticationConfig 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 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