Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-4876

PMM Server access credentials are shown by the pmm-admin status command instead of hiding them for security reasons

Details

    Description

      pmm-admin status exposes credentials..
      .. "regression" of PMM-1443

      $ pmm-admin status
      Agent ID: /agent_id/f979f0d7-5567-43a0-9394-292853d20e32
      Node ID : /node_id/4b1fb9da-a81c-46b5-be6f-8e8e9341522c
      
      PMM Server:
              URL    : https://admin:[email protected]:8443/
              Version: 2.0.1
      
      PMM-agent:
              Connected : true
              Time drift: 29.651µs
              Latency   : 196.608µs
      
      Agents:
              /agent_id/e3c91e94-8ba0-4b97-9500-854ef3d3c7d2 NODE_EXPORTER WAITING
      
      

      Solution: replace username and password with *** each

      Note: we will not try to solve bigger problem in this task, just hiding the password on CLI

      Attachments

        Activity

          People

            Unassigned Unassigned
            ceri.williams Ceri Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 1 day, 3 hours, 30 minutes
                1d 3h 30m

                Smart Checklist