Provide a resource to manage SSO certificates.
resource "sendgrid_sso_integration" "sso" {
name = "IdP"
enabled = true
signin_url = "https://idp.com/signin"
signout_url = "https://idp.com/signout"
entity_id = "https://idp.com/12345"
}
resource "sendgrid_sso_certificate" "cert" {
integration_id = sendgrid_sso_integration.sso.id
public_certificate = <<EOF
-----BEGIN CERTIFICATE-----
...
EOF
}
The following arguments are supported:
integration_id
- (Required) An ID that matches an existing SSO integration.public_certificate
- (Required) This public certificate allows SendGrid to verify that SAML requests it receives are signed by an IdP that it recognizes.
An SSO certificate can be imported, e.g.
$ terraform import sendgrid_sso_certificate.cert <certificate-id>