Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2948

Make encryptquerystring provision optional

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.14.0, 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 1.6.0
    • 2.1.0
    • Server
    • None

    Description

      Since KNOX-1136, Knox saves the encryptQueryString alias in the given topology's credential store when processing the descriptor.

      The problem with this approach is, that, in some cases, it may happen that 3rd party deployment tools (such as Cloudera Manager) persists that secret in a separate phase and

      • this makes the Knox call redundant
      • Knox will override the previously saved value silently

      Proposal:

      • introduce a new descriptor-level property called provision-encrypt-query-string-credential (defaults to true) which controls this behavior
      • if the descriptor is configured with provisionEncryptQueryStringCredential = false, no credential store operation should be done to save that alias.

      Attachments

        Activity

          People

            smolnar Sandor Molnar
            smolnar Sandor Molnar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h