[DOCS-13742] [mongocli] Describe config Created: 30/Jun/20  Updated: 01/Jul/20  Resolved: 01/Jul/20

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Rob Carlan (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
Related
Participants:
Days since reply: 3 years, 32 weeks, 1 day ago
Epic Link: DOCSP-10903

 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.)


Generated at Thu Feb 08 08:08:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.