(environment-credentials)
Attempts to extract AWS credentials from the environment, using the AWS SDK default provider chain. Returns a map of :access-key and :secret-key or nil if no credentials are located.
Attempts to extract AWS credentials from the environment, using the AWS SDK default provider chain. Returns a map of :access-key and :secret-key or nil if no credentials are located.
(s3 {:keys [cred] :as config})
Returns a new S3Client component for config, a map of:
Returns a new S3Client component for config, a map of: * :creds API credentials, a map with :access-key and :secret-key. Note this is will be ignored when running in k8s in favor of the k8s secrets. * :bucket-suffix String that will be added to each bucket name, intended to assist with environment separation. It is transparently added on key reads and writes, so clients should only refer to the unsuffixed bucket name. * :buckets A collection of string bucket names used by the component. Each will be created on startup if they don't exist. * :initial-delay-ms Integer number of milliseconds to wait for the first retry of failures (other than unreachable network failures). * :unreachable-delay-ms Integer number of milliseconds to wait for retry of unreachable network failures. * :max-retries Integer max number of retries of failure.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close