Data Types

DigitalOceanStorage

Storage layer used for storing files in a DigitalOcean Space, as opposed to Bytescale's built-in storage.

This is a read/write storage layer.

{
"bucketName": String,
"bucketRegion": String,
},
},
"type": String,
}
{
"bucket": {
"bucketName": "my-bucket",
"bucketRegion": "nyc3",
"objectKeyPrefix": "an/example/key"
},
"credentials": {
"spacesAccessKey": "AKIAIOSFODNN7EXAMPLE",
"spacesSecretKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
},
"type": "DigitalOceanSpace",
"useAbsolutePaths": true
}

AWS S3 Bucket Name.

Example: "my-bucket"

Type: String

Min Length: 1

Max Length: 61

DigitalOcean Region.

Example: "nyc3"

Type: String

Length: 4

AWS S3 Object Key.

Example: "an/example/key"

Type: String

Min Length: 0

Max Length: 1024

AWS Access Key.

Example: "AKIAIOSFODNN7EXAMPLE"

Type: String

Min Length: 16

Max Length: 128

AWS Secret Access Key.

Example: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"

Type: String

Min Length: 30

Max Length: 128

The type of this storage layer.

Type: String

Value: "DigitalOceanSpace"

If true then writes S3 objects with full filePath as key, prefixed with the objectKeyPrefix.

If false then writes S3 objects using a relative filePath in relation to folder's path, prefixed with the objectKeyPrefix.

Type: Boolean

Was this section helpful? Yes No

You are using an outdated browser.

This website requires a modern web browser -- the latest versions of these browsers are supported: