Module de.stklcode.jvault.connector
Class MetaSecretResponse
java.lang.Object
de.stklcode.jvault.connector.model.response.VaultDataResponse
de.stklcode.jvault.connector.model.response.SecretResponse
de.stklcode.jvault.connector.model.response.MetaSecretResponse
- All Implemented Interfaces:
VaultResponse
,Serializable
Vault response for secret responses with metadata.
- 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
getLeaseDuration, getLeaseId, getRequestId, getWarnings, getWrapInfo, isRenewable
-
Constructor Details
-
MetaSecretResponse
public MetaSecretResponse()
-
-
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
-