Class AppRoleSecretResponse
- java.lang.Object
-
- de.stklcode.jvault.connector.model.response.VaultDataResponse
-
- de.stklcode.jvault.connector.model.response.AppRoleSecretResponse
-
- All Implemented Interfaces:
VaultResponse
public final class AppRoleSecretResponse extends VaultDataResponse
Vault response for AppRole lookup.- Since:
- 0.4.0
- Author:
- Stefan Kalscheuer
-
-
Constructor Summary
Constructors Constructor Description AppRoleSecretResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppRoleSecret
getSecret()
void
setData(Map<String,Object> data)
Set data.-
Methods inherited from class de.stklcode.jvault.connector.model.response.VaultDataResponse
getLeaseDuration, getLeaseId, getWarnings, isRenewable
-
-
-
-
Method Detail
-
setData
public void setData(Map<String,Object> data) throws InvalidResponseException
Description copied from class:VaultDataResponse
Set data. To be implemented in the specific subclasses, as data can be of arbitrary structure.- Specified by:
setData
in classVaultDataResponse
- Parameters:
data
- Raw response data- Throws:
InvalidResponseException
- on parsing errors
-
getSecret
public AppRoleSecret getSecret()
- Returns:
- The secret
-
-