Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-28277

Hashicorp: Document the mandatory presence of /v1/ in URL, detect error if possible

    XMLWordPrintable

    Details

      Description

      According to comments in the cnf file hashicorp_key_management.cnf, hashicorp-key-management-vault-url must always contain /v1/:

      1. HTTP[s] URL that is used to connect to the Hashicorp Vault server.
      2. It must include the name of the scheme ("https://" for a secure
      3. connection) and, according to the API rules for storages of the
      4. key-value type in Hashicorp Vault, after the server address, the
      5. path must begin with the "/v1/" string (as prefix), for example:
      6. "https://127.0.0.1:8200/v1/my_secrets"

      It is good that the cnf template mentions it, but it should also be mentioned in the documentation.

      Moreover, if it's cut in stone, maybe the plugin could include it into the parameter verification and throw an error if the URL doesn't contain it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sysprg Julius Goryavsky
              Reporter:
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.