Files
cozystack/packages
Andrei Kvapil 08cb839283 feat(api): describe engine-issued keys on CredentialTemplate
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>
2026-12-02 20:38:26 +01:00
..