Skip to content

Config URI format

DavidASeibert edited this page Nov 14, 2016 · 10 revisions

The latest releases allow users to specify the complete ECS S3 client configuration in a single bring by using a Config URI. A Config URI follows the standard URI spec:

<protocol>://<host>[:<port>][/path][?<param-key>=<param-value>][&<param-key>=<param-value>][...]

Here are some examples.

  • A simple S3 client config URI for ECS Test Drive.

      https://object.ecstestdrive.com?smartClient=false&useVHost=true&identity=<access-key>&secretKey=<secret-key>
    
  • A standard S3 client config URI for a local ECS deployment using the smart-client and unencrypted traffic.

      http://10.1.83.51:9020?identity=<access-key>&secretKey=<secret-key>
    
  • A standard S3 client config URI for a 3-VDC deployment using encrypted traffic and geo-pinning.

The https://10.1.100.11:9021vdcs=10.1.100.11,10.1.100.12&vdcs=10.2.100.11,10.2.100.12&vdcs=10.3.100.11,10.3.100.12&geoPinningEnabled=true&geoReadRetryFailover=true&identity=&secretKey=

The ECS S3 client config URI has the following available parameters.

  • useVHost - must be true or false (default false). protected boolean signNamespace = true; protected boolean checksumEnabled = true; protected boolean retryEnabled = true; protected int initialRetryDelay = DEFAULT_INITIAL_RETRY_DELAY; protected int retryLimit = DEFAULT_RETRY_LIMIT; protected int retryBufferSize = DEFAULT_RETRY_BUFFER_SIZE; protected float faultInjectionRate = 0.0f; protected boolean signMetadataSearch = true;
Clone this wiki locally