cm_client.CspResourceApi

All URIs are relative to https://localhost/api/v55

Method HTTP request Description
upload_csp_cert PUT /csp/uploadCspCert Upload CA certificates, client certificates and client key for Credential Storage Provider.

upload_csp_cert

ApiCspArguments upload_csp_cert(body=body)

Upload CA certificates, client certificates and client key for Credential Storage Provider.

Upload CA certificates, client certificates and client key for Credential Storage Provider. CM server restart is needed for these certificates to be applied.

Example

from __future__ import print_function
import time
import cm_client
from cm_client.rest import ApiException
from pprint import pprint

# Configure HTTP basic authorization: basic
configuration = cm_client.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'

# create an instance of the API class
api_instance = cm_client.CspResourceApi(cm_client.ApiClient(configuration))
body = cm_client.ApiCspArguments() # ApiCspArguments | Arguments for the CSP (optional)

try:
    # Upload CA certificates, client certificates and client key for Credential Storage Provider.
    api_response = api_instance.upload_csp_cert(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CspResourceApi->upload_csp_cert: %s\n" % e)

Parameters

Name Type Description Notes
body ApiCspArguments Arguments for the CSP [optional]

Return type

ApiCspArguments

Authorization

basic

HTTP request headers

[Back to top] [Back to API list] [Back to Model list] [Back to README]