HonahX commented on code in PR #931: URL: https://github.com/apache/polaris/pull/931#discussion_r1943762172
########## site/content/in-dev/unreleased/command-line-interface.md: ########## @@ -1025,6 +1039,106 @@ polaris privileges \ VIEW_FULL_METADATA ``` +### profiles + +The `profiles` command is used to manage stored authentication profiles in Polaris. Profiles allow authentication credentials to be saved and reused, eliminating the need to pass credentials with every command. + +`profiles` supports the following subcommands: + +1. create +2. delete +3. get +4. list +5. update + +#### create + +The `create` subcommand is used to create a new authentication profile. + +``` +input: polaris profiles create --help +options: + create + Positional arguments: + profile +``` + +##### Examples + +``` +polaris profiles create dev +``` Review Comment: I think it will be great if we can include the "command + output" example in the PR description here ``` ➜ polaris git:(cli_profile) ./polaris profiles create dev Polaris Client ID: root Polaris Client Secret: 712f1f6daf16326fd794607ef1ce90d9 Polaris Host [localhost]: Polaris Port [8181]: Polaris profile dev created successfully. ``` Same applies to other commands below, WDYT? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
