anchor.diff:  // CONSOLE
   // TEST[skip:we don't have s3 set up while testing this]
   
  -This sets up a repository that uses all client settings from the client `my_client_named` except for the `endpoint` that is overridden
  -to `my.s3.endpoint` by the repository settings.
  +This sets up a repository that uses all client settings from the client
  +`my_client_name` except for the `endpoint` that is overridden to
  +`my.s3.endpoint` by the repository settings.
   
   [[repository-s3-permissions]]
   ===== Recommended S3 Permissions
   
  -In order to restrict the Elasticsearch snapshot process to the minimum required resources, we recommend using Amazon
  -IAM in conjunction with pre-existing S3 buckets. Here is an example policy which will allow the snapshot access to an
  - S3 bucket named "snaps.example.com". This may be configured through the AWS IAM console, by creating a Custom Policy,
  - and using a Policy Document similar to this (changing snaps.example.com to your bucket name).
  +In order to restrict the Elasticsearch snapshot process to the minimum required
  +resources, we recommend using Amazon IAM in conjunction with pre-existing S3
  +buckets. Here is an example policy which will allow the snapshot access to an S3
  +bucket named "snaps.example.com". This may be configured through the AWS IAM
  +console, by creating a Custom Policy, and using a Policy Document similar to
  +this (changing snaps.example.com to your bucket name).
   
   [source,js]
   ----
  
positive.code: ----
  // NOTCONSOLE
  
  You may further restrict the permissions by specifying a prefix within the bucket, in this example, named "foo".
  
  [source,js]
  ----
  
negative.code: [[repository-s3-client]]
  ==== Client Settings
  
  The client that you use to connect to S3 has a number of settings available.
  The settings have the form `s3.client.CLIENT_NAME.SETTING_NAME`. By default,
  `s3` repositories use a client named `default`, but this can be modified using
  the <<repository-s3-repository,repository setting>> `client`. For example:
  
  [source,js]
  ----
  