Get a SAML service provider certificate (Beta)
Get a SAML service provider certificate (Beta)
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
samlServiceProviderId
samlServiceProviderCertificateId
Response
The response body.
samlServiceProviderCertificateId
Unique identifier of the SAML service provider certificate
samlServiceProviderId
Unique identifier of the SAML service provider
purpose
Purpose of the certificate. Use signing for signing SAML requests and encryption for encrypting SAML responses.
publicKeyCertificate
PEM-encoded X.509 certificate
isActive
Whether the certificate is currently active
notBefore
Date and time when the certificate becomes valid
notAfter
Date and time when the certificate expires
createdAt
When the certificate was created
createdBy
Identifier of the user who created the certificate
updatedAt
When the certificate was last updated
updatedBy
Identifier of the user who last updated the certificate

