I have an openstack-swift blob store set up with v1 authentication that I wish to access via jclouds. Is there a way to do this?
(As far as I can tell, the KeystoneAuthenticationModule is always installed.)
Thank you.
It should be possible to do this with jclouds. Try this:
ContextBuilder builder = ContextBuilder
.newBuilder("swift")
.credentials(IDENTITY, CREDENTIAL)
.endpoint(ENDPOINT);
BlobStoreContext blobStoreContext = builder.build(
BlobStoreContext.class);
BlobStore blobStore = blobStoreContext.getBlobStore();
Replace IDENTITY, CREDENTIAL, ENDPOINT above with the appropriate values.
After this you can use the blobStore object for actual blobstore operations such as createContainer, getBlob, putBlob, etc.