Skip to main content
net8.0

An S3 destination for the key-value-pair abstraction library

Published
Jul 31, 2024
2y ago
Total Downloads
3.3K
3,324

Install

dotnet add package KVPSButter.S3 --version 0.0.9-alpha
ProductVersions
.NET
net8.0

README

KVPSButter.S3 - S3 storage for KVPSButter

This package contains the S3 bindings for KVPSButter.

Examples

To get a connection, use the default loader:

var kvps = KVPSLoader.Default.Create("s3://?username=accessKey&password=secretKey&bucket=bucket");

From here it is possible to interact with the store:

await kvps.WriteAsync("key1", new MemoryStream(new byte[] { 1, 2, 3 }));
var data = kvps.ReadAsync("key1");

Supported options:

Username: The S3 accessKey or username
Password: The S3 secretKey or password
Bucket: Override for the bucket name, using the URL bucket name if not provided
Prefix: Override for the path prefix, using the URL after bucket name if not provided
ServiceUrl: The service URL if not using AWS S3,
DisableGetObjectAttributes: Disables the use of GetObjectAttributes for metadata, using empty GetObject request instead

Changes from Previous Version

No structural changes between v0.0.8-alpha and v0.0.9-alpha.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.