Yes, PUT /api/handles/{handle} can be used. The technical manual describes the API.
I should add that we generally try to discourage use of HS_SECKEY. Although HTTP Basic authentication is significantly simpler than the alternatives, HS_SECKEY does not have the security allowed by use of public/private key pairs.
Robert
Is there a way to create a brand new handle via API? Kun Create a handle, and in that handle record create a value of type HS_SECKEY. By convention the secret or public key is placed at index 300, but this is not necessary. Also, the HS_SECKEY value should be made not-world-readable (the hdl-admintool client does this for you). After this handle is created with an HS_SECKEY value, that handle can be used with HTTP Basic authentication. Robert
For the purpose of using REST API and Basic Access Authentication. How to set the HS_SECKEY password? I didn’t remember setting it. I always use admpriv.bin file for auth in clients. Systems and Application Librarian
_______________________________________________Handle-Info mailing listHandle-Info@cnri.reston.va.ushttp://www.handle.net/mailman/listinfo/handle-info
|