All URIs are relative to https://tryitout.jamfcloud.com/uapi
Method | HTTP request | Description |
---|---|---|
v1_sso_cert_delete | DELETE /v1/sso/cert | Delete the currently configured certificate used by SSO |
v1_sso_cert_download_get | GET /v1/sso/cert/download | Download the certificate currently configured for use with Jamf Pro's SSO configuration |
v1_sso_cert_get | GET /v1/sso/cert | Retrieve the certificate currently configured for use with SSO |
v1_sso_cert_parse_post | POST /v1/sso/cert/parse | Parse the certificate to get details about certificate type and keys needed to upload certificate file |
v1_sso_cert_post | POST /v1/sso/cert | Jamf Pro will generate a new certificate and use it to sign SSO |
v1_sso_cert_put | PUT /v1/sso/cert | Update the certificate used by Jamf Pro to sign SSO requests to the identify provider |
v1_sso_cert_delete()
Delete the currently configured certificate used by SSO
Deletes the currently configured certificate used by SSO.
from __future__ import print_function
import time
import jamf
from jamf.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://tryitout.jamfcloud.com/uapi
# See configuration.py for a list of all supported configuration parameters.
configuration = jamf.Configuration(
host = "https://tryitout.jamfcloud.com/uapi"
)
# Enter a context with an instance of the API client
with jamf.ApiClient() as api_client:
# Create an instance of the API class
api_instance = jamf.SsoCertificatePreviewApi(api_client)
try:
# Delete the currently configured certificate used by SSO
api_instance.v1_sso_cert_delete()
except ApiException as e:
print("Exception when calling SsoCertificatePreviewApi->v1_sso_cert_delete: %s\n" % e)
This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
204 | Operation successful. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
file v1_sso_cert_download_get()
Download the certificate currently configured for use with Jamf Pro's SSO configuration
Downloads the certificate currently configured for use with Jamf Pro's SSO configuration
from __future__ import print_function
import time
import jamf
from jamf.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://tryitout.jamfcloud.com/uapi
# See configuration.py for a list of all supported configuration parameters.
configuration = jamf.Configuration(
host = "https://tryitout.jamfcloud.com/uapi"
)
# Enter a context with an instance of the API client
with jamf.ApiClient() as api_client:
# Create an instance of the API class
api_instance = jamf.SsoCertificatePreviewApi(api_client)
try:
# Download the certificate currently configured for use with Jamf Pro's SSO configuration
api_response = api_instance.v1_sso_cert_download_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling SsoCertificatePreviewApi->v1_sso_cert_download_get: %s\n" % e)
This endpoint does not need any parameter.
file
No authorization required
- Content-Type: Not defined
- Accept: text/plain
Status code | Description | Response headers |
---|---|---|
200 | Request successful | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SsoKeystoreWithDetails v1_sso_cert_get()
Retrieve the certificate currently configured for use with SSO
Retrieves the certificate currently configured for use with SSO.
from __future__ import print_function
import time
import jamf
from jamf.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://tryitout.jamfcloud.com/uapi
# See configuration.py for a list of all supported configuration parameters.
configuration = jamf.Configuration(
host = "https://tryitout.jamfcloud.com/uapi"
)
# Enter a context with an instance of the API client
with jamf.ApiClient() as api_client:
# Create an instance of the API class
api_instance = jamf.SsoCertificatePreviewApi(api_client)
try:
# Retrieve the certificate currently configured for use with SSO
api_response = api_instance.v1_sso_cert_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling SsoCertificatePreviewApi->v1_sso_cert_get: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful operation. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SsoKeystoreCertParseResponse v1_sso_cert_parse_post(sso_keystore_parse)
Parse the certificate to get details about certificate type and keys needed to upload certificate file
Parse the certificate to get details about certificate type and keys needed to upload certificate file.
from __future__ import print_function
import time
import jamf
from jamf.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://tryitout.jamfcloud.com/uapi
# See configuration.py for a list of all supported configuration parameters.
configuration = jamf.Configuration(
host = "https://tryitout.jamfcloud.com/uapi"
)
# Enter a context with an instance of the API client
with jamf.ApiClient() as api_client:
# Create an instance of the API class
api_instance = jamf.SsoCertificatePreviewApi(api_client)
sso_keystore_parse = jamf.SsoKeystoreParse() # SsoKeystoreParse |
try:
# Parse the certificate to get details about certificate type and keys needed to upload certificate file
api_response = api_instance.v1_sso_cert_parse_post(sso_keystore_parse)
pprint(api_response)
except ApiException as e:
print("Exception when calling SsoCertificatePreviewApi->v1_sso_cert_parse_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
sso_keystore_parse | SsoKeystoreParse |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successfully parsed the certificate. | - |
400 | One or more parameters were invalid. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SsoKeystoreWithDetails v1_sso_cert_post()
Jamf Pro will generate a new certificate and use it to sign SSO
Jamf Pro will generate a new certificate and use it to sign SSO requests to the identity provider.
from __future__ import print_function
import time
import jamf
from jamf.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://tryitout.jamfcloud.com/uapi
# See configuration.py for a list of all supported configuration parameters.
configuration = jamf.Configuration(
host = "https://tryitout.jamfcloud.com/uapi"
)
# Enter a context with an instance of the API client
with jamf.ApiClient() as api_client:
# Create an instance of the API class
api_instance = jamf.SsoCertificatePreviewApi(api_client)
try:
# Jamf Pro will generate a new certificate and use it to sign SSO
api_response = api_instance.v1_sso_cert_post()
pprint(api_response)
except ApiException as e:
print("Exception when calling SsoCertificatePreviewApi->v1_sso_cert_post: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Newly generated will be set and returned. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SsoKeystoreWithDetails v1_sso_cert_put(sso_keystore)
Update the certificate used by Jamf Pro to sign SSO requests to the identify provider
Update the certificate used by Jamf Pro to sign SSO requests to the identify provider.
from __future__ import print_function
import time
import jamf
from jamf.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://tryitout.jamfcloud.com/uapi
# See configuration.py for a list of all supported configuration parameters.
configuration = jamf.Configuration(
host = "https://tryitout.jamfcloud.com/uapi"
)
# Enter a context with an instance of the API client
with jamf.ApiClient() as api_client:
# Create an instance of the API class
api_instance = jamf.SsoCertificatePreviewApi(api_client)
sso_keystore = jamf.SsoKeystore() # SsoKeystore |
try:
# Update the certificate used by Jamf Pro to sign SSO requests to the identify provider
api_response = api_instance.v1_sso_cert_put(sso_keystore)
pprint(api_response)
except ApiException as e:
print("Exception when calling SsoCertificatePreviewApi->v1_sso_cert_put: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
sso_keystore | SsoKeystore |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successfully changed the keystore. | - |
400 | One or more parameters were invalid. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]