S-Drive 3.6 Documentation

Direct Bucket Access

These methods return the configuration behind a bucket — its name, endpoint, access key, and (for a specific file) ready-to-use signed request headers — rather than performing an upload, download, or delete themselves.

They only matter if you're bypassing S-Drive's own upload/download flow to make your own direct HTTP calls to the storage backend (S3). Most integrations won't need any of these.

Method

Returns

getAccessKey

The configured storage access key.

getBucketName

The bucket name for a given bucket, or for an existing file's bucket.

getBucketNameWithFileId

The bucket name for an existing file, given just its Id.

getS3Endpoint

The storage endpoint URL for a bucket.

getAmazonHeaders

Signed request headers for a specific file, ready to attach to your own HTTP call.