secret lease
A borrowed copy of a secret that comes with an end time, after which it must not be used and a fresh copy must be fetched.
In more detail
A client should cache the lease and check that it is still valid before each reuse, so rotation happens without anyone scheduling it. A stolen copy is then worth minutes instead of years.
Examples
The course's lease prints its version, never its value.The course's Lease prints its version, never its valueRelated terms
- AWS Secrets Manager — An AWS service that stores passwords, keys and other secrets encrypted and hands them to programs that are allowed to read them.
- TTL — How long a stored item, such as a session, token or cache entry, stays valid before it expires.
- temporary security credentials — Cloud credentials that expire on their own after minutes or hours, issued when a role is assumed.
Taught in
- Moving To A Secret Manager — Application Security & Threat Modeling for Engineers