[
https://issues.apache.org/jira/browse/HDDS-9106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Varsha Ravi reassigned HDDS-9106:
---------------------------------
Assignee: Varsha Ravi
> Support "--all" option in cert list
> -----------------------------------
>
> Key: HDDS-9106
> URL: https://issues.apache.org/jira/browse/HDDS-9106
> Project: Apache Ozone
> Issue Type: Improvement
> Components: Ozone CLI
> Affects Versions: 1.3.0
> Reporter: Soumitra Sulav
> Assignee: Varsha Ravi
> Priority: Major
>
> In the current cert cli implementation, there is an option to list the number
> of certificates by pass -c option, by default the value is 20.
> There should also be an option to pass all certificates.
> {code:java}
> root@st-data-con-zruv6m-dvtcn:/ansible# /opt/cloudera/parcels/CDH/bin/ozone
> admin cert list -h
> Usage: ozone admin cert list [-hV] [-c=<count>] [-id=<scmServiceId>]
> [-r=<role>] [-s=<startSerialId>] [--scm=<scm>]
> [-t=<type>]
> List certificates
> -c, --count=<count> Maximum number of certificates to list
> Default: 20
> -h, --help Show this help message and exit.
> -id, --service-id=<scmServiceId>
> ServiceId of SCM HA Cluster
> -r, --role=<role> Filter certificate by the role: om/datanode
> Default: datanode
> -s, --start=<startSerialId>
> Certificate serial id to start the iteration
> Default: 0
> --scm=<scm> The destination scm (host:port)
> -t, --type=<type> Filter certificate by the type: valid or revoked
> Default: valid
> -V, --version Print version information and exit.
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]