Bug 1388628

Summary: [RFE] Listing archived keys by owner, certificate, archiver
Product: Red Hat Enterprise Linux 8 Reporter: Matthew Harmsen <mharmsen>
Component: pki-coreAssignee: RHCS Maintainers <rhcs-maint>
Status: CLOSED UPSTREAM QA Contact: Asha Akkiangady <aakkiang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.3CC: dmoluguw
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-21 19:05:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Matthew Harmsen 2016-10-25 19:10:32 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/pki/ticket/2527

The CLI should provide a mechanism to list archived keys by their owner, certificate, or archiver just like in the UI, for example:

{{{
$ pki kra-key-find --owner <owner>
$ pki kra-key-find --serial <cert serial>
$ pki kra-key-find --cert <cert file>
$ pki kra-key-find --archiver <archiver>
}}}

The CLI output should also include additional info including archiver, client key ID, realm, state, public key.

Comment 1 Matthew Harmsen 2016-10-25 19:12:56 UTC
Per PKI Bug Council of 10/25/2016: 7.4 - major

Comment 3 Matthew Harmsen 2018-07-04 00:09:52 UTC
Moved to RHEL 7.7.

Comment 5 Dinesh Prasanth 2020-04-21 19:05:03 UTC
As per 04/21/2020 grooming meeting, closing this as UPSTREAM. Related upstream ticket: https://pagure.io/dogtagpki/issue/2527