Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-4076

S3 Bucket form should match regular aws credential form

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • MCE 2.3.0
    • MCE 2.3.0
    • HyperShift
    • False
    • None
    • False
    • Important
    • No

      Description of problem:

      The credential part for the s3 bucket uses a textarea for the credential:

      There are a few issues with this:

      1. This textarea validation expects a format that is not documented anywhere
      [default] 
      aws_access_key_id=xxx 
      aws_secret_access_key=yyy 

      The type, e.g. [Default] is not needed here if we just need the keys?

      1. This is not user friendly and is not consistent with what we have today for aws creds, where we specify for each key:

      Best way is to match this format to reduce possible error scenarios the user can run into. In the YAML that's built, we can just ensure it gets sent to the backend the same way.

      Version-Release number of selected component (if applicable):

      2.8.0-DOWNSTREAM-2023-03-03-17-00-20

      How reproducible:

      always

      Steps to Reproduce:

      1. go to credentials > create credential
      2. click aws > s3 bucket > bucket info
      3. ...

      Actual results:

      Expected results:

      Additional info:

              magchen@redhat.com Maggie Chen
              rhn-support-dhuynh David Huynh
              David Huynh David Huynh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: