We use keystore to store s3 key and secrete as [recommended by elastic](https://github.com/elastic/helm-charts/blob/master/elasticsearch/README.md#how-to-use-the-keystore). Check the deployment of the es-cluster to see how we use the secrets.
To use the [s3 plugin](https://www.elastic.co/guide/en/elasticsearch/plugins/6.8/repository-s3-repository.html) with Digital Ocean we need to configure a s3 repository for the backup. We use the official helm repo. Checkout the docu for [snapshots](https://github.com/elastic/helm-charts/tree/master/elasticsearch#how-to-enable-snapshotting).