POST Codesign/SetGlobalConfiguration
Updates global configuration settings for CodeSign Protect.
Requirements
- Permissions: The caller must be a Code Signing Administrator.
- Token scope: Codesign:Manage
Headers
-
Content type: Content-Type:application/json.
- Token: The bearer access token that you received. For example, Authorization:Bearer 4MyGeneratedBearerTknz==. For more information, see Passing a bearer token in your API calls.
Parameters
Name |
Description |
---|---|
GlobalConfiguration |
The set of Policy tree locations and user settings:
|
Returns
Name |
Description |
---|---|
HTTP 200 |
For valid requests, this call returns a HTTP 200 message and the following data in the message body:
|
HTTP 400 |
For invalid requests, this call returns HTTP 400 Bad Request and the following data in the message body:
|
Example: Change the default KeyUseTimeout value for every project
Request
POST https://codesign.venafi.example/vedsdk/Codesign/SetGlobalConfiguration Authorization:Bearer 4MyGeneratedBearerTknz== { "GlobalConfiguration":{ "ApprovedKeyStorageLocations":{ "Items":[ "Software" ] }, "AvailableKeyStorageLocations":[ "Software" ], "DefaultCAContainer":"\\VED\\Policy\\Code Signing\\Certificate Authority Templates", "DefaultCertificateContainer":"\\VED\\Policy\\Code Signing\\Certificates", "DefaultCredentialContainer":"\\VED\\Policy\\Code Signing\\Credentials", "KeyUseTimeout":60, "ProjectDescriptionTooltip":"", "RequestInProgressMessage":"" }
HTTP/1.1 200 OK { "Result": 1, "Success": true }