Skip to main content

Module leases

Module leases 

Source
Expand description

PAM access lease operations.

An access lease is the short-lived, single-use grant that a member holds after an approved AccessRequest is activated. While the lease is Active the member may open the cipher the request was for; when it Expired or is Revoked the cipher re-locks.

LeasesClient is obtained from the PamClient and covers reading the caller’s leases (list_active / list_mine), extending an active lease, and ending one early. Leases are minted on the access-request side, by AccessRequestsClient::activate.

Re-exports§

pub use client::LeasesClient;
pub use models::AccessLeaseExtensionRequest;
pub use models::AccessLeaseRevokeRequest;
pub use models::AccessLeaseStatus;
pub use models::AccessLeaseView;

Modules§

client 🔒
models 🔒