Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-1984

Add username field to the pubkey UI

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • CRC UI, Provisioning
    • None

      New field will be added into pubkey named "username": https://issues.redhat.com/browse/HMS-1983

      The format must be validated, only valid UNIX usernames are possible:

      ^[a-z_]([a-z0-9_-]{0,31}|[a-z0-9_-]{0,30}\$)$
      

      When user adds a new key, this value can be detected from the third column (comment) of the ssh-key:

      ssh-rsa XXXXXX comment
      

      Typically it contains username but not always - the value must be still validated against the regexp. Username must NOT be "root".

      Finally, the UI must clearly state this:

      Username - account to be used with the SSH key. This field is currently utilized in Google Cloud, other providers do use static username: ec2-user and azure-user.

              Unassigned Unassigned
              rhn-engineering-lzapletal Lukáš Zapletal
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: