objectscale_iam_saml_provider (Resource)
Manages an ObjectScale IAM SAML Identity Provider (external IdP) registration.
Example Usage
# Copyright (c) 2026 Dell Inc., or its subsidiaries. All Rights Reserved.
# Register an external SAML IdP (e.g. Okta / Azure AD / ADFS) with ObjectScale.
resource "objectscale_iam_saml_provider" "corp" {
name = "corp-saml"
namespace = "ns1"
# Provide the IdP's SAML metadata XML (typically downloaded from the IdP admin
# console). Updates trigger an in-place rotation; changing `name` or
# `namespace` triggers destroy + recreate.
saml_metadata_document = file("${path.module}/idp-metadata.xml")
}
output "saml_provider_arn" {
value = objectscale_iam_saml_provider.corp.arn
}
Schema
Required
name(String) The SAML Provider name. Cannot be changed after creation.saml_metadata_document(String) Raw SAML metadata XML for the IdP.
Optional
namespace(String) Namespace of the SAML Provider. Cannot be changed after creation.
Read-Only
arn(String) ARN of the SAML Provider.create_date(String) ISO 8601 creation timestamp of the SAML Provider.id(String) The provider ARN, also used as resource ID.valid_until(String) ISO 8601 timestamp at which the SAML Provider metadata signing certificate expires.
Unless specified otherwise, all fields of this resource can be updated.