
com.bettercloud.vault.api.database.DatabaseCredential Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vault-java-driver Show documentation
Show all versions of vault-java-driver Show documentation
Zero-dependency Java client for HashiCorp's Vault
The newest version!
package com.bettercloud.vault.api.database;
public class DatabaseCredential {
private String username;
private String password;
/**
* @return Returns the Username associated with the retrieved Credential
*/
public String getUsername() {
return username;
}
/**
* @return Returns the Password associated with the retrieved Credential
*/
public String getPassword() {
return password;
}
public DatabaseCredential username(String username) {
this.username = username;
return this;
}
public DatabaseCredential password(String password) {
this.password = password;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy