.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.
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"
},
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Important: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement updates), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2025:9775
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" },