Autional Autional
API Reference GitHub autional.com →

POST /internal/secret/transmission/decrypt

Decrypt the frontend RSA-OAEP encrypted password using the transmission RSA private key. Internal service call only.

Secret Service - Internal API `InternalAPIKeyAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
X-API-Key header string Yes Internal API key

Request Body

Schema: gitee_com_linmes_authms_micro-services_secret-service_internal_handler_dto.TransmissionDecryptRequest

FieldTypeRequiredExampleConstraintsDescription
ciphertext string Yes base64(RSA-OAEP encrypted password)
key_id string No Public key ID (reserved for multiple key support).

Responses

StatusDescriptionSchema
200Decrypted plaintext passworddto.DataResponse-gitee_com_linmes_authms_micro-services_secret-service_internal_handler_dto_TransmissionDecryptResponse

Referenced Schemas

dto.DataResponse-gitee_com_linmes_authms_micro-services_secret-service_internal_handler_dto_TransmissionDecryptResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data gitee_com_linmes_authms_micro-services_secret-service_internal_handler_dto.TransmissionDecryptResponse No
message string No
timestamp string No

gitee_com_linmes_authms_micro-services_secret-service_internal_handler_dto.TransmissionDecryptResponse

FieldTypeRequiredExampleConstraintsDescription
plaintext string No my-decrypted-password