Get a SAML service provider certificate (Beta)

View as MarkdownOpen in Claude
Get a certificate to use with your IdP when configuring Sigma as a 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. - Retrieve the `samlServiceProviderCertificateId` by calling the [/saml/service-providers/certificates](https://help.sigmacomputing.com/reference/list-saml-service-provider-certificates) endpoint. - Signing certificates are used by your IdP to verify signatures that Sigma attaches to SAML requests. - Encryption certificates are used by your IdP to encrypt SAML responses sent to Sigma.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Path parameters

samlServiceProviderIdstringRequired
samlServiceProviderCertificateIdstringRequired

Response

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

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

publicKeyCertificatestring

PEM-encoded X.509 certificate

isActiveboolean
Whether the certificate is currently active
notBeforedatetime
Date and time when the certificate becomes valid
notAfterdatetime
Date and time when the certificate expires
createdAtdatetime
When the certificate was created
createdBystring
Identifier of the user who created the certificate
updatedAtdatetime
When the certificate was last updated
updatedBystring
Identifier of the user who last updated the certificate