mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-06 23:23:23 +09:00
A Bucket user's keys come from the COSI driver, which accepts no caller-chosen secret, so the platform cannot choose them the way it chooses a password. The optional bucketAccess field lets a template name the BucketAccess whose grant issues the keys, which makes the account engine-issued whatever its format. The keys are stored as they are issued, so a CEL rule requires the plaintext format on such a template; a format name of its own would say who issues the secret, which bucketAccess already says, and would stop format meaning only how a password is stored. A mint can return the access key that goes with the secret key through one optional field on CredentialRequestStatus. Assisted-by: LLM Signed-off-by: Andrei Kvapil <kvapss@gmail.com>