-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Azure repository: Move to named configurations as we do for S3 repository #22763
Copy link
Copy link
Closed
Labels
:Distributed/Snapshot/RestoreAnything directly related to the `_snapshot/*` APIsAnything directly related to the `_snapshot/*` APIs
Description
We should have the same behavior for Azure repositories as we have for S3 (see #22762).
Instead of:
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_key2Support something like:
azure.client:
default:
account: your_azure_storage_account1
key: your_azure_storage_key1
my_account2:
account: your_azure_storage_account2
key: your_azure_storage_key2
Then instead of:
PUT _snapshot/my_backup3
{
"type": "azure",
"settings": {
"account": "my_account2"
}
}
Use:
PUT _snapshot/my_backup3
{
"type": "azure",
"settings": {
"config": "my_account2"
}
}
If someone uses:
PUT _snapshot/my_backup3
{
"type": "azure"
}
It will use the default azure repository settings.
And mark as deprecated old settings.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Distributed/Snapshot/RestoreAnything directly related to the `_snapshot/*` APIsAnything directly related to the `_snapshot/*` APIs
Type
Fields
Give feedbackNo fields configured for issues without a type.