Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13742

[mongocli] Describe config

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      Description

      Added `mongocli config describe` which returns the description for a profile:

      > ./bin/mongocli config describe om
      public_api_key = redacted
      service = ops-manager
      ops_manager_url = http://om.com/
      private_api_key = redacted
      project_id = 5efa65463e8e86592c4ca608

      mongocli config describe <name>

      should fetch a given profile name and list its configuration, this to avoid telling users to check the config file

      This command should avoid outputting the private API keys

      Scope of changes

      • New page under Reference > Access Management
      • Anywhere we tell users to check the config file ( eg. cat ~/.config/mongocli.toml ) change to use this command instead

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            rob.carlan@mongodb.com Rob Carlan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 32 weeks, 1 day ago