Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hashicorp Vault Namespace support. #1525

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

krishnan-narayanan-partior

PR Description

Hashicorp enterprise version supports namespaces. This PR allows an easy way to configure Tessera and supplying namespace for hashicorp via Tessera config hashicorp properties.

    "keys": {
      "keyVaultConfigs": [
        {
          "keyVaultType": "HASHICORP",
          "properties": {
            "url": "https://<Vault-Url>",
            "approlePath": "tessera",
            **"namespace": "test"**
          }
        }
      ],
      "keyData": [
        {
          "hashicorpVaultSecretEngineName": "tessera",
          "hashicorpVaultSecretName": "secret1",
          "hashicorpVaultSecretVersion": 1,
          "hashicorpVaultPrivateKeyId": "privateKey",
          "hashicorpVaultPublicKeyId": "publicKey"
        }
      ]
    },

Please note, this change is activated only when namespace is supplied as highlighted above via the tessera config. The code was tested using enterprise version of hashicorp.

Fixed Issue(s)

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

@CLAassistant
Copy link

CLAassistant commented Jul 19, 2023

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants