Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Latest commit

 

History

History
40 lines (29 loc) · 904 Bytes

sso_certificate.md

File metadata and controls

40 lines (29 loc) · 904 Bytes

sendgrid_sso_certificate

Provide a resource to manage SSO certificates.

Example Usage

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
}

Argument Reference

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.

Import

An SSO certificate can be imported, e.g.

$ terraform import sendgrid_sso_certificate.cert <certificate-id>