Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-1297

Auth section of Vert.X configuration doesn't support env variable substitution

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.3.3.Final
    • 1.3.1.Final
    • Gateway, Gateway API
    • None

      "auth": {
          "type": "BASIC",
          "config": {
            "username": "${APIMAN_AUTH_USERNAME}",
            "password": "${APIMAN_AUTH_PASSWORD}"
          }
        },
      

      The username required for authentication will actually be "${APIMAN_AUTH_USERNAME}", same for password. No substitution is performed.

      Env variable substitution seems useful when dealing with passwords. Especially for the purpose of docker image this would allow the ability to change the credentials.

              msavy_jira Marc Savy (Inactive)
              jcechace@redhat.com Jakub Čecháček
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: