Step 1b: Upload the SAML application's signing key (Optional)
POST {{apiPath}}/environments/{{envID}}/keys
Optionally, the POST /environments/{{envID}}/keys
endpoint can be used to upload the external identity provider's signing key file. This operation supports the application/x-pkcs12-certificates
media type to upload a pkcs12
file. The pkscS12
file can be encrypted or unencrypted. If the file is encrypted without a specified export password, an INVALID_DATA
error is returned.
The response returns a 201 Created message and shows the certificate data parsed from the uploaded certificate file.
Request Body
[{"name"=>"usageType", "value"=>"ENCRYPTION", "datatype"=>"string"}, {"name"=>"file", "value"=>nil, "datatype"=>"null"}, {"name"=>"password", "value"=>"Optional for encrypted files", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |