Open
Description
The response should be aGetSecretMetadataResponse
object (this is relevant for the callee if they need to update the metadata and need the version number). From the code:
/**
* Gets the metadata key and value pairs for the given secret.
*
* @param identityId the authenticating identity id
* @param secretId the secret id
* @return a map of metadata key and value pairs for the secret
* @throws DeltaServiceException upon exception
*/
public GetSecretMetadataResponse getSecretMetadata(String identityId, String secretId)
throws DeltaServiceException {
return apiClient.getSecretMetadata(new SecretRequest(identityId, secretId));
}