Create a SAML service provider certificate (Beta)

View as Markdown
Create a certificate for a given SAML service provider. **Beta**: This documentation describes a public beta feature and is subject to the [Beta features](/docs/sigma-product-releases#beta-features) disclaimer. ### Usage notes - To perform this operation, you must use API credentials owned by a user assigned the Admin account type. - Retrieve the `samlServiceProviderId` by calling the [/saml/service-providers](https://help.sigmacomputing.com/reference/list-saml-service-providers) endpoint.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Path parameters

samlServiceProviderIdstringRequired
Unique identifier of the SAML service provider

Request

The request body.
purposeenumRequired

Purpose of the certificate. Use signing for signing SAML requests and encryption for encrypting SAML responses.

Allowed values:
validForDaysdoubleRequired
Number of days the certificate is valid

Response

The response body.
samlServiceProviderIdstring
Unique identifier of the SAML service provider
samlServiceProviderCertificateIdstring
Unique identifier of the SAML service provider certificate