Skip to contents

Create and cache a paws.storage::s3() client for the session. Credentials are read from ART_BUCKETS_KEY_ID and ART_BUCKETS_KEY_SECRET environment variables. The client is created once and reused across all CDN operations.

Usage

cdn_client()

cdn_client_reset()

Value

A paws.storage::s3 service object.

NULL invisibly.

Functions

  • cdn_client(): Get (or create) the cached S3 client

  • cdn_client_reset(): Reset the cached client (e.g. after credential rotation)