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

Adding --credentials-source option to pmm-admin

Details

    • New Feature
    • Status: Open
    • Medium
    • Resolution: Fixed
    • None
    • None
    • PMM Admin
    • 3
    • Yes
    • Yes
    • Yes
    • C/S Core

    Description

      Currently, authentication for the services monitored via pmm-agent normally requires the use of --username, --password, along with the optional --agent-password.

      As a user, this forces either command-line specification of secrets, or a flags file can be used so that secrets are hidden from view. However, credentials for the monitored services may be managed separately from the configuration of pmm-agent and pmm-admin.

      The --credentials-source option will allow the user to generate a file that, at least initially, will be read to parse JSON from the file. Execution of a file may be added later and for now would produce an error to avoid any confusion.

      Executable file
      failed to retrieve credentials from /tmp/test.sh: execution is not supported: /tmp/test.sh
      

      The JSON format is as follows:

       { 
             "username": string,
             "password": string,
             "agentpassword": string
        }
      

      Only the required items need to be added.

      Attachments

        Issue Links

          Activity

            People

              rasika.chivate Rasika Chivate
              ceri.williams Ceri Williams
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3 hours
                  3h
                  Remaining:
                  0m
                  Logged:
                  Time Not Required
                  Not Specified

                  Smart Checklist