captp/ovh-swift

Allow basic interactions with OVH Swift Storage

1.2.1 2023-11-22 11:08 UTC

This package is auto-updated.

Last update: 2024-04-22 12:19:08 UTC


README

Allow basic operations with OVH Swift Object Storage

Prerequisites

Environment variable giving the '.env' path, using the key 'ENV_PATH'

Installation

composer require captp/ovh-swift

Env example and explainations

SWIFT_USERNAME=
SWIFT_PASSWORD=
SWIFT_PROJECT_ID=
SWIFT_DOMAIN=default
SWIFT_REGION=
SWIFT_PROVIDER=ovh
MAX_FILE_SIZE=262144000

OVH Examples

SWIFT_USERNAME : S3 User with 'ObjectStore operator' role at least.

SWIFT_PASSWORD : Password generated when creating user. Password can ben regenerated.

Note that those are also used to access the OpenStack API GUI

SWIFT_PROJECT_ID : Found in OpenStack API GUI under the "Projects" tab. SWIFT_DOMAIN : Unsure. Appears to always be 'default'. Is 'default' bu default. SWIFT_REGION : Region where your object storage is located SWIFT_PROVIDER : For now, only OVH is supported. MAX_FILE_SIZE : Defaults to OpenStack limitation.