Expand description
OTP management endpoints for the admin API.
RHELBU-3536 R9: Administrators generate OTPs for EST enrollment via the admin API. Each OTP is bound to an entity-id and has configurable expiry and usage limits.
Structs§
- Generate
OtpRequest - Request body for
POST /admin/otp/generate. - OtpResponse
- Response for a successfully generated OTP.
- OtpSummary
- OTP summary for listing.
Functions§
- generate_
otp POST /admin/otp/generate— Generate a new OTP.- list_
otps GET /admin/otp— List active OTPs.- revoke_
otp DELETE /admin/otp/{id}— Revoke an OTP.