yera.creds.locking
Cross-process locking for protected credential stores.
Symbols
SecretStoreLock
Coordinate access to one credential store across processes.
SecretStoreLock.__enter__
__enter__() → SelfAcquire the store lock.
Returns
type: Self
The acquired lock.
Raises
SecretStoreBusyError
If the lock cannot be acquired in time.
SecretStoreUnsafeError
If the lock path is unsafe.
SecretStoreLock.__exit__
__exit__(
exception_type: type[BaseException] | None,
exception: BaseException | None,
traceback: TracebackType | None,
) → NoneRelease the store lock.