Secure, scalable, and developer-friendly cloud storage, similar to AWS S3, with seamless integration of AWS S3 SDKs and APIs.
import { S3Client, ListBucketsCommand } from "@aws-sdk/client-s3";
const client = new S3Client({
credentials: {
accessKeyId: "velta_xxxx-xxxx",
secretAccessKey: "xxx-xxx-xxx-xxx",
},
endpoint: "https://s3.velta.dev",
forcePathStyle: true,
region: "eu-central",
});
(async () => {
const response = await client.send(new ListBucketsCommand({ }))
console.log(response.Buckets);
})()