The swift_storage_config block configures the connection to OpenStack Object Storage (Swift) object storage backend. The supported CLI flags used to reference this configuration block are:

  • common.storage
  • ruler.storage
# OpenStack Swift authentication API version. 0 to autodetect.# CLI flag: -.swift.auth-version[auth_version:  | default = 0]# OpenStack Swift authentication URL# CLI flag: -.swift.auth-url[auth_url:  | default = ""]# Set this to true to use the internal OpenStack Swift endpoint URL# CLI flag: -.swift.internal[internal:  | default = false]# OpenStack Swift username.# CLI flag: -.swift.username[username:  | default = ""]# OpenStack Swift user's domain name.# CLI flag: -.swift.user-domain-name[user_domain_name:  | default = ""]# OpenStack Swift user's domain ID.# CLI flag: -.swift.user-domain-id[user_domain_id:  | default = ""]# OpenStack Swift user ID.# CLI flag: -.swift.user-id[user_id:  | default = ""]# OpenStack Swift API key.# CLI flag: -.swift.password[password:  | default = ""]# OpenStack Swift user's domain ID.# CLI flag: -.swift.domain-id[domain_id:  | default = ""]# OpenStack Swift user's domain name.# CLI flag: -.swift.domain-name[domain_name:  | default = ""]# OpenStack Swift project ID (v2,v3 auth only).# CLI flag: -.swift.project-id[project_id:  | default = ""]# OpenStack Swift project name (v2,v3 auth only).# CLI flag: -.swift.project-name[project_name:  | default = ""]# ID of the OpenStack Swift project's domain (v3 auth only), only needed if it# differs the from user domain.# CLI flag: -.swift.project-domain-id[project_domain_id:  | default = ""]# Name of the OpenStack Swift project's domain (v3 auth only), only needed if it# differs from the user domain.# CLI flag: -.swift.project-domain-name[project_domain_name:  | default = ""]# OpenStack Swift Region to use (v2,v3 auth only).# CLI flag: -.swift.region-name[region_name:  | default = ""]# Name of the OpenStack Swift container to put chunks in.# CLI flag: -.swift.container-name[container_name:  | default = ""]# Max retries on requests error.# CLI flag: -.swift.max-retries[max_retries:  | default = 3]# Time after which a connection attempt is aborted.# CLI flag: -.swift.connect-timeout[connect_timeout:  | default = 10s]# Time after which an idle request is aborted. The timeout watchdog is reset# each time some data is received, so the timeout triggers after X time no data# is received on a request.# CLI flag: -.swift.request-timeout[request_timeout:  | default = 5s]