Please keep in mind that I'm learning Azure/Okta on the go, so I reserve the right to be completely wrong about all of this 😀
Background:
I’m attempting to automate the relationship between Azure AD (IdP) and Okta "Identity Providers" configuration. In the Okta docs a certificate must be generated manually in an Azure Enterprise App; that certificate is later downloaded from Azure, then uploaded to the Okta " Identity Providers" config.
The azuread_service_principal_token_signing_certificate does not appear to follow the Terraform principal for cross-provider operations; in this case, the certificate doesn't seem to be output in proper PEM encoding.
Please keep in mind that I'm learning Azure/Okta on the go, so I reserve the right to be completely wrong about all of this 😀
Background:
I’m attempting to automate the relationship between Azure AD (IdP) and Okta "Identity Providers" configuration. In the Okta docs a certificate must be generated manually in an Azure Enterprise App; that certificate is later downloaded from Azure, then uploaded to the Okta " Identity Providers" config.
I've followed https://github.com/hashicorp/terraform-provider-azuread/issues/823#issuecomment-1398060612 to generate/activate the SSO certificate; seems to work.
Description
The
azuread_service_principal_token_signing_certificate
does not appear to follow the Terraform principal for cross-provider operations; in this case, the certificate doesn't seem to be output in proper PEM encoding.New or Affected Resource(s)
azuread_service_principal
(requires certificate)azuread_service_principal_token_signing_certificate
(produces certificate)okta_idp_saml_key
(consumes certificate)Potential Terraform Configuration
References
TIA