Skip to main content

Add SAML Settings for Prisma Cloud Compute

POST 

/api/v34.04/settings/saml

x-prisma-cloud-target-env: {"permission":"authConfiguration"}

Configures the SAML settings that is used to authenticate to the Prisma Cloud Compute.

For more information, see Okta via SAML 2.0, G Suite via SAML, Azure AD via SAML, PingFederate via SAML, and ADFS via SAML.

cURL Request​

Refer to the following example cURL request that uses the basic auth to set up and enable the SAML integration with Prisma Cloud Compute:

$ curl \
-u <USER> \
-H 'Content-Type: application/json' \
-X POST \
-d '{
"enabled": true,
"url": "https://my-adfs-server.twistlock.com/adfs/SSO",
"cert": "<CERTIFICATE>",
"issuer": "https://my-adfs-server.twistlock.com/adfs/services/trust",
"type": "adfs",
"audience": "twistlock",
"appId": "",
"tenantId": "",
"appSecret": {
"encrypted": ""
}
}' \
"https://<CONSOLE>/api/v<VERSION>/settings/saml"

Request​

Responses​

OK