New to KubeVault? Please start here.
In Azure storage backend, data will be stored in Azure Storage Container. Vault documentation for azure storage can be found in here.
apiVersion: kubevault.com/v1alpha1
kind: VaultServer
metadata:
name: vault-with-azure
namespace: demo
spec:
nodes: 1
version: "0.11.1"
backend:
azure:
accountName: "vault-ac"
accountKeySecret: "azure-cred"
container: "my-vault-storage"
To use Azure as backend storage in Vault specify spec.backend.azure
in VaultServer CRD.
spec:
backend:
azure:
accountName: <storage_account_name>
accountKeySecret: <storage_account_key_secret_name>
container: <container_name>
maxParallel: <max_parallel>
spec.backend.azure
has following fields:
azure.accountName
is a required field that specifies the Azure Storage account name.
spec:
backend:
azure:
accountName: "my-vault-storage"
azure.accountKeySecret
is a required field that specifies the name of the secret containing Azure Storage account key. The secret contains following key:
account_key
spec:
backend:
azure:
accountKeySecret: "azure-storage-key"
azure.container
is an required field that specifies the Azure Storage Blob container name.
spec:
backend:
azure:
container: "my-vault-storage"
maxParallel
is an optional field that specifies the maximum number of parallel operations to take place. This field accepts integer value. If this field is not specified, then Vault will set value 128
.
spec:
backend:
azure:
maxParallel: 124