Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
private ObjectStorage objStoreClient = null;
final ResourcePrincipalAuthenticationDetailsProvider provider
= ResourcePrincipalAuthenticationDetailsProvider.builder().build();
public ObjectStoreListFunction() {
try {
objStoreClient = new ObjectStorageClient(provider);
} catch (Throwable ex) {
System.err.println("Failed to instantiate ObjectStorage client - " + ex.getMessage());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment