OpenSearch/plugins/discovery-azure
craigwi 79a4d9ce36 Add support for secondary azure storage account
Follow up for #13228.

This commit adds support for a secondary storage account:

```yml
cloud:
    azure:
        storage:
            my_account1:
                account: your_azure_storage_account1
                key: your_azure_storage_key1
                default: true
            my_account2:
                account: your_azure_storage_account2
                key: your_azure_storage_key2
```

When creating a repository, you can choose which azure account you want to use for it:

```sh
curl -XPUT localhost:9200/_snapshot/my_backup1?pretty -d '{
  "type": "azure"
}'

curl -XPUT localhost:9200/_snapshot/my_backup2?pretty -d '{
  "type": "azure",
  "settings": {
    "account" : "my_account2",
    "location_mode": "secondary_only"
  }
}'
```

`location_mode` supports `primary_only` or `secondary_only`. Defaults to `primary_only`. Note that if you set it
to `secondary_only`, it will force `read_only` to true.
2015-11-18 16:31:48 +01:00
..
licenses Build: Remove transitive dependencies 2015-11-10 15:01:41 -08:00
src Add support for secondary azure storage account 2015-11-18 16:31:48 +01:00
LICENSE.txt [cloud-azure] Split azure plugin in 3 plugins 2015-09-21 17:55:23 +02:00
build.gradle Build: Remove transitive dependencies 2015-11-10 15:01:41 -08:00