Bug 2316598

Summary: [RFE] RGW User Keys creation date info
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: daniel parkes <dparkes>
Component: RGWAssignee: Jiffin <jthottan>
Status: VERIFIED --- QA Contact: Madhavi Kasturi <mkasturi>
Severity: medium Docs Contact: Rivka Pollack <rpollack>
Priority: medium    
Version: 7.1CC: cbodley, ceph-eng-bugs, cephqe-warriors, jthottan, mbenjamin, rpollack, tserlin
Target Milestone: ---Keywords: FutureFeature, Reopened
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.2.1-2.el9cp Doc Type: Enhancement
Doc Text:
.Creation dates are now added as part of user keys With this enhancement, when keys are added to a user, a creation stamp is now attached to it. As a result, keys are removed in the proper order when credentials are rotated.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-01 13:14:48 UTC 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:
Bug Depends On:    
Bug Blocks: 2351689    

Description daniel parkes 2024-10-05 08:08:26 UTC
Description of problem:

Ceph as a service.

Currently, when listing user credentials, they come back in alphabetical order and without a creation date. We would like to show the access key list on our UI in order of when they were created. If the creation date was included in the information provided by the listing, we could use that to sort and would also be helpful information to have on our UI.

 

Example of what Ceph provides today:

        {
            "user": "default",
            "access_key": "H1MHOVDQBTJWZPW40SM8",
            "secret_key": "QBPu1CGcEESPVtuQIy4Bek4AdJse4D5bZd68udaJ"
        },
        {
            "user": "default",
            "access_key": "I43RJZ4BIGH0361B6IFK",
            "secret_key": "lckMiUP6eCpc572FB9EoABBL7EdfQ7fL0JESSeV4"
        },
        {
            "user": "default",
            "access_key": "LYQTBASE098HBBTJ2D3Y",
            "secret_key": "rBoMyh82muf6S5gknwcayejxxEWfA7TFqGUVAPmZ"
        },
        {
            "user": "default",
            "access_key": "New-credential",
            "secret_key": "mxRDJClAbbbbuagjD8MGZeDPE0Z0GRL61GoOQGAj"
        },
        {
            "user": "default",
            "access_key": "a",
            "secret_key": "uQK2IdzqHLDSIp0CE65ZlAd3GuHvGD90HbFMnBpJ"
        },
        {
            "user": "default",
            "access_key": "awstesting",
            "secret_key": "ovqgmslcRtKi0WgAkbFDJtKs6X1Z8bsniBz9XpCb"
        },
        {
            "user": "default",
            "access_key": "cdjohnson-s3-1",
            "secret_key": "ibIxlAR9LCCoOqhufXeSi4yd1B77BU3tsAOQU02v"
        },
        {
            "user": "default",
            "access_key": "mammoth",
            "secret_key": "E55YDWpHB15spZjoZHkgC9SDkzpqsLBBub0WxIix"
        },
        {
            "user": "default",
            "access_key": "okthere",
            "secret_key": "yZ6IqGplEzxOCiPXJe2e4wAUMz77rDc3bLFEmyu0"
        },
        {
            "user": "default",
            "access_key": "s3testing",
            "secret_key": "AAZU3ESVJCcsDmq7u7ihac18GIRIi49bsSLIwyMZ"
        },
        {
            "user": "default",
            "access_key": "test1",
            "secret_key": "0WxBEAhNDQ0tvPOg2NnmoDuGxVeVO5K0BxBXz6bI"
        },