Module de.stklcode.jvault.connector
Class AppRoleSecretResponse
java.lang.Object
de.stklcode.jvault.connector.model.response.VaultDataResponse
de.stklcode.jvault.connector.model.response.AppRoleSecretResponse
- All Implemented Interfaces:
VaultResponse
Vault response for AppRole lookup.
- Since:
- 0.4.0
- Author:
- Stefan Kalscheuer
-
Constructor Summary
-
Method Summary
Methods inherited from class de.stklcode.jvault.connector.model.response.VaultDataResponse
getLeaseDuration, getLeaseId, getWarnings, isRenewable
-
Constructor Details
-
AppRoleSecretResponse
public AppRoleSecretResponse()
-
-
Method Details
-
setData
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
- Returns:
- The secret
-