Vultr Storage - robinrodricks/FluentStorage GitHub Wiki

In order to use Vultr storage you need to reference the FluentStorage.AWS package first. The provider wraps around the standard AWS SDK.

Connect to Vultr

You can use the VultrStorage factory class to connect to Vultr Object Storage storage servers (S3 compatible).

IStore store = VultrStorage.FromCredentials(
    accessKeyId, secretAccessKey, bucketName, hostName);

Where hostName is the Vultr Storage endpoint hostname (e.g. sgp1.vultrobjects.com).

Connect using Connection Strings

To create with a connection string, first reference the module:

AwsS3Storage.Use();

Then construct using the following format:

IStore store = StorageFactory.FromConnectionString("vultr://keyId=...;key=...;bucket=...;hostName=...");

where:

  • keyId is (optional) access key ID.
  • key is (optional) secret access key.
  • bucket is bucket name.
  • hostName is the Vultr Storage endpoint hostname (e.g. sgp1.vultrobjects.com).

Perform storage operations

Use our simple polycloud API to perform file and object manipulation operations.

AWS CLI Profile Support

If you already have credentials in the local credentials file generated by AWS CLI, you can also use them to connect to a bucket with FluentStorage. Look here for more details.

Native operations

Call the IStore.GetClient() method to return the native SDK client and perform any native operations.

⚠️ **GitHub.com Fallback** ⚠️