[Feature request] Expiring access keys #832

Open
opened 2024-06-05 03:21:50 +00:00 by jade · 1 comment

I would love to be able to create access keys that expire in like an hour. The reason I want to be able to do this is that long-lived secrets are a liability, and so I want to write a program that just logs into the garage server via ssh and makes a key on the spot, which then gets expired later.

It would be possible to just write a simple script that makes a key with name ephemeral-${date} and a timer to delete all such keys that are too old, but that is a workaround.

I would love to be able to create access keys that expire in like an hour. The reason I want to be able to do this is that long-lived secrets are a liability, and so I want to write a program that just logs into the garage server via ssh and makes a key on the spot, which then gets expired later. It would be possible to just write a simple script that makes a key with name `ephemeral-${date}` and a timer to delete all such keys that are too old, but that is a workaround.
Contributor

This looks related to #546 (comment).

This looks related to https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/546#issuecomment-6207.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#832
No description provided.