hashicorp / hashicorp/vault-helm

Deploying vault on OCI gives seal type Shamir not OCIKMS

Open
#996 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Shell
Stars
1.3k
Forks
897
Avg merge
3d 1h
Merged PRs (30d)
1

Description

Deploying vault on OCI gives sealtype "shamir" not "ocikms". Here are the values we used
```
server:
ha:
enabled: true
replicas: 2
raft:
enabled: true
setNodeId: true
config: |
ui = true
listener "tcp" {
address = "[::]:8200"
cluster_address = "[::]:8201"
tls_disable = true
}
storage "raft" {
path = "/vault/data"
retry_join {
leader_api_addr = "http://vault-0.vault-internal:8200"
}
retry_join {
leader_api_addr = "http://vault-1.vault-internal:8200"
}

}
service_registration "kubernetes" {}

seal "ocikms" {
key_id = ""
crypto_endpoint = ""
management_endpoint = ""
tenancy = ""
user = ""
region = ""
fingerprint = ""
}

dataStorage:
storageClass: oci-bv

auditStorage:
enabled: true
storageClass: oci-bv

extraEnvironmentVars:
VAULT_SEAL_TYPE: "ocikms"
VAULT_OCIKMS_SEAL_KEY_ID: ""

```

```
Key Value
--- -----
Recovery Seal Type shamir
Initialized true
Sealed false
Total Recovery Shares 5
Threshold 3
Version 1.15.2
Build Date
Storage Type raft
Cluster Name vault-cluster
Cluster ID
HA Enabled true
HA Cluster https://vault-0.vault-internal:8201
HA Mode active
Active Since
Raft Committed Index 60
Raft Applied Index 60
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the supplied Helm values and inspect the rendered Vault configuration and environment variables in the deployed pods. Compare how the seal block and VAULT_* settings are passed to Vault, then verify that a deployment using these values reports OCI KMS rather than Shamir as its recovery seal type.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm, kubernetes, yaml
Domain
cloud, devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.