Create a new credential pair
post
/design/-/resources/tenant/securestorage/
The credential pair consists of the username and a secret. Use the application/x-www-form-urlencoded content type to update a credential with a text-based secret or use the multipart/form-data content type to update a credential, such as a keystore or certificate, with binary secret.
Request
Supported Media Types
- application/x-www-form-urlencoded
- multipart/form-data
Form Parameters
-
token: string
Secret part of the credential pair
-
userName(required): string
Public part of the credential pair
Secret binary part of the credential pair
Root Schema : InputStream
Type:
object
Response
Supported Media Types
- application/json
200 Response
JSON map with the ID of the created credential pair