Skip to content

aytemuryakup/dapr-vault-secretstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple dapr secret management project with golang

Prerequisites

Run the app on Kubernetes

Dapr and Vault Kubernetes architecture of our application GitHub Image

Install Dapr

kubectl create ns dapr-vault
# Add Dapr Repo
helm repo add dapr https://dapr.github.io/helm-charts/

# Install Dapr
helm upgrade --install dapr dapr/dapr \
--version=1.12 \
--namespace dapr-vault \
--wait

# Verify Dapr
kubectl get pods --namespace dapr-vault

Install Vault

# Add Hashicorp Vault Repo
helm repo add hashicorp https://helm.releases.hashicorp.com

# Install Hashicorp Vault

helm upgrade --install vault hashicorp/vault \
--version=0.25.0 \
--namespace dapr-vault \
--wait

# Verify Hashicorp Vault
kubectl get pods --namespace dapr-vault

Initialize and Unseal Vault

# Initialize Vault Server
kubectl exec -n dapr-vault --stdin=true --tty=true vault-0 -- vault operator init

# Unseal the Vault server
kubectl exec -n dapr-vault --stdin=true --tty=true vault-0 -- vault operator unseal # key-1
kubectl exec -n dapr-vault --stdin=true --tty=true vault-0 -- vault operator unseal # key-2
kubectl exec -n dapr-vault --stdin=true --tty=true vault-0 -- vault operator unseal # key-3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published