Create a Password Connection
POST {{cryptr_service_url}}/api/v2/org/:org_domain/password-connection?plain_text_max_length=20&plain_text_min_length=8
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
plain_text_max_length | number | This key determines the maximum length allowed for the plaintext password when creating a connection. It indicates the upper limit of characters that the password entered by the user can contain. For example, if plain_text_max_length is set to 20, this means that passwords cannot exceed 20 characters. | |
plain_text_min_length | number | This key defines the minimum length required for the plaintext password when creating a connection. It specifies the minimum number of characters the password must contain to be considered valid. For example, if plain_text_min_length is set to 8, this means that passwords must contain at least 8 characters to be accepted. |
RESPONSES
status: Created
{"__domain__":"royal-felin","__type__":"PasswordConnection","id":"aff51afe-1422-40b2-9193-ba730156a339","inserted_at":"2023-07-13T10:02:56","pepper_rotation_period":86400,"plain_text_max_length":25,"plain_text_min_length":8,"updated_at":"2023-07-13T10:02:56"}