How to configure Azure storage

This guide shows how to configure the Azure Storage Integrator charm for OpenSearch backups.

Deploy and configure the integrator

Deploy the charm and set storage account details:

juju deploy azure-storage-integrator --channel latest/edge
juju config azure-storage-integrator \
    storage-account=<storage-account> \
    container=<container-name>

Provide the storage key via a Juju secret:

juju add-secret azure-secret secret-key=<storage-key>
juju grant-secret azure-secret azure-storage-integrator
juju config azure-storage-integrator credentials=<secret-id>

See the azure-storage-integrator configuration reference for all available options.

Integrate with Charmed OpenSearch

Connect the integrator to OpenSearch:

juju integrate azure-storage-integrator opensearch

Once the integration is established, juju status --relations shows the azure-storage-integrator application active with a relation to opensearch. The OpenSearch application remains active.

Next steps