Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-34316

Remove the secrets' structure from the returning payloads

XMLWordPrintable

    • Security & Compliance
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • Impediment
    • None

      Right now when fetching an endpoint the secrets' structure is still returned, even though they are obscured now with asterisks so that the actual secrets themselves are not shown.

      Since we are using DTOs for our endpoints, we need to refactor that structure so that we:

      1. Remove the structure from the returning JSON.
      2. Allow the creation of an endpoint without the secrets and...
      3. ..add a couple of endpoints so that we can PUT and DELETE an endpoint's secrets.

      This model change would require us to use the V2 of the REST API so that we make sure that we don't break any clients.

              rh-ee-gduval Guillaume Duval
              mbarcina@redhat.com Mikel Barcina
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: