Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

Configuration File

hojo edited this page Dec 16, 2014 · 2 revisions

This is a list of configuration variables for a Droplet profile. Default values are defined only where indicated:

  • use_https = true|false; if true, enables https when connecting to S3 service; default is false
  • host = string; for example, s3.amazonaws.com
  • port = alternate port; if not 80 with http or 443 with https
  • base_path = path to prepend to all URLs
  • access_key = string; for example, your AccessKeyId
  • secret_key = string; secret key bound to access_key
  • ssl_method = string; used only if use_https=true; valid values are SSLv3, TLSv1, TLSv1.1, TLSv1.2 or SSLv23; default is SSLv23
  • ssl_cert_file = string; used only if use_https=true
  • ssl_key_file = string; used only if use_https=true
  • ssl_password = string; used only if use_https=true
  • ssl_ca_list = string; used only if use_https=true
  • pricing = string; pricing profile, absolute path or relative path from ~/.droplet
  • read_buf_size = string; default is 8192
  • encrypt_key = string; used when enabling on-the-fly aes-256-cfb encryption
  • light_mode = true|false; do not attempt to resolve paths before accessing an object; default is true
  • backend = s3|cdmi|srest|srws; alternet backend; default is s3
  • encode_slashes = true|false; some servers do not like encoded slashes; default is true
  • keep_alive = true|false; try to reuse connections; default is true
  • url_encoding = true|false; some servers do not like encoded URLs; default is true
  • have_cdmi_metadata = true|false; some CDMI servers do not understand ?metadata syntax; default is true
  • delim = string; delimiter for directories; default is /

Some variables are optional, while others are mandatory. The library will issue a warning if any mandatory variables are not set, or if values are provided for nonexisting variables.

Clone this wiki locally