boolean fetchTags = true;
ItemBase managedItem;
try {
managedItem = itemRepository.getManagedItem(key, fetchTags, getSecretProvider());
} catch (RepositoryException e) {
throw new PlatformLayerClientException("Error fetching item", e);
}
return (T) managedItem;
}