[
https://issues.apache.org/jira/browse/ARTEMIS-6055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram updated ARTEMIS-6055:
------------------------------------
Description:
When creating a broker via the CLI (i.e., using the `create` command) we always
prompt users for default credentials. However, there is a {{\-\-silent}} option
that skips all prompts and uses default values.
This should be changed so that no passwords will have default values, even when
using the {{\-\-silent}} option. When using {{\-\-silent}} users should
explicitly define password values (e.g., via {{\-\-password}},
{{\-\-cluster-password}}, etc.) or creation should fail.
was:
When creating a broker via the CLI (i.e., using the `create` command) we always
prompt users for default credentials. However, there is a {{--silent}} option
that skips all prompts and uses default values.
This should be changed so that no passwords will have default values, even when
using the {{--silent}} option. When using {{--silent}} users should explicitly
define password values (e.g., via `--password`, `--cluster-password`, etc.) or
creation should fail.
> Refactor CLI default password handling
> --------------------------------------
>
> Key: ARTEMIS-6055
> URL: https://issues.apache.org/jira/browse/ARTEMIS-6055
> Project: Artemis
> Issue Type: Task
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When creating a broker via the CLI (i.e., using the `create` command) we
> always prompt users for default credentials. However, there is a
> {{\-\-silent}} option that skips all prompts and uses default values.
> This should be changed so that no passwords will have default values, even
> when using the {{\-\-silent}} option. When using {{\-\-silent}} users should
> explicitly define password values (e.g., via {{\-\-password}},
> {{\-\-cluster-password}}, etc.) or creation should fail.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]