You can add a key by running the Add key workflow of the Configuration plug-in or by using the REST API.

Procedure

  1. Make a GET request at the URL of the Workflow service of the Add key workflow.
    GET https://{orchestrator_host}:{port}/vco/api/workflows?conditions=name=Add key
  2. Retrieve the definition of the Add key workflow by making a GET request at the URL of the definition.
    GET https://{orchestrator_host}:{port}/vco/api/workflows/6c301bff-e8fe-4ae0-ad08-5318178594b3/
  3. Make a POST request at the URL that holds the execution objects of the Add key workflow.
    POST https://{orchestrator_host}:{port}/vco/api/workflows/6c301bff-e8fe-4ae0-ad08-5318178594b3/executions/
  4. Provide the keystore, key alias, PEM-encoded key, certificate chain and key password as input parameters of the Add key workflow in an execution-context element in the request body.