Create a SAML service provider certificate (Beta)
Create a SAML service provider certificate (Beta)
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
samlServiceProviderId
Unique identifier of the SAML service provider
Request
The request body.
purpose
Purpose of the certificate. Use signing for signing SAML requests and encryption for encrypting SAML responses.
Allowed values:
validForDays
Number of days the certificate is valid
Response
The response body.
samlServiceProviderId
Unique identifier of the SAML service provider
samlServiceProviderCertificateId
Unique identifier of the SAML service provider certificate

