Module de.stklcode.jvault.connector
Class PlainSecretResponse
java.lang.Object
de.stklcode.jvault.connector.model.response.VaultDataResponse
de.stklcode.jvault.connector.model.response.SecretResponse
de.stklcode.jvault.connector.model.response.PlainSecretResponse
- All Implemented Interfaces:
VaultResponse
,Serializable
- Direct Known Subclasses:
CredentialsResponse
Vault response for plain secret responses.
- Since:
- 1.1 abstract
- Author:
- Stefan Kalscheuer
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
final Map
<String, Serializable> getData()
Get complete data object.final VersionMetadata
Get secret metadata.int
hashCode()
Methods inherited from class de.stklcode.jvault.connector.model.response.SecretResponse
get, get
Methods inherited from class de.stklcode.jvault.connector.model.response.VaultDataResponse
getAuth, getLeaseDuration, getLeaseId, getMountType, getRequestId, getWarnings, getWrapInfo, isRenewable
-
Constructor Details
-
PlainSecretResponse
public PlainSecretResponse()
-
-
Method Details
-
getData
Description copied from class:SecretResponse
Get complete data object.- Specified by:
getData
in classSecretResponse
- Returns:
- data map
-
getMetadata
Description copied from class:SecretResponse
Get secret metadata. This is only available for KV v2 secrets.- Specified by:
getMetadata
in classSecretResponse
- Returns:
- Metadata of the secret.
-
equals
- Overrides:
equals
in classVaultDataResponse
-
hashCode
public int hashCode()- Overrides:
hashCode
in classVaultDataResponse
-