Bug 2034302

Summary: [RFE] Need openstack command to find user of a previously created Barbican secret.
Product: Red Hat OpenStack Reporter: vivek koul <vkoul>
Component: openstack-barbicanAssignee: Ade Lee <alee>
Status: NEW --- QA Contact: Jeremy Agee <jagee>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16.1 (Train)CC: alee, dwilde, hrybacki, jjung
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: jjung: needinfo? (alee)
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: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description vivek koul 2021-12-20 16:02:17 UTC
Description of problem:

Need openstack command to find user of a previously created Barbican secret.
OpenStack CLI does not include the creator_id field. So we can get it by querying the API directly.

GET /v1/secrets/UUUU-III-DDD ---> This will return a JSON dict that includes the creator_id field

https://docs.openstack.org/barbican/latest/api/reference/secrets.html


Version-Release number of selected component (if applicable):
N/A

How reproducible:
N/A

Steps to Reproduce:
1. N/A
2.
3.

Actual results:
N/A

Expected results:
N/A

Additional info:
N/A