This provider is currently in preview.
published on Thursday, May 21, 2026 by Pulumi
This provider is currently in preview.
published on Thursday, May 21, 2026 by Pulumi
Updates the SAML configuration for a SAML-backed organization, including the identity provider SSO descriptor, attribute mappings, and other SAML settings. The new IDP SSO descriptor is required in the update request.
Create SAML Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SAML(name: string, args: SAMLArgs, opts?: CustomResourceOptions);@overload
def SAML(resource_name: str,
args: SAMLArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SAML(resource_name: str,
opts: Optional[ResourceOptions] = None,
org_name: Optional[str] = None,
new_idp_sso_descriptor: Optional[str] = None)func NewSAML(ctx *Context, name string, args SAMLArgs, opts ...ResourceOption) (*SAML, error)public SAML(string name, SAMLArgs args, CustomResourceOptions? opts = null)type: pulumiservice:api/auth:SAML
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "pulumiservice_api_auth_saml" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SAMLArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SAMLArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SAMLArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SAMLArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SAMLArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var samlResource = new PulumiService.Api.Auth.SAML("samlResource", new()
{
OrgName = "string",
NewIdpSsoDescriptor = "string",
});
example, err := auth.NewSAML(ctx, "samlResource", &auth.SAMLArgs{
OrgName: pulumi.String("string"),
NewIdpSsoDescriptor: pulumi.String("string"),
})
resource "pulumiservice_api_auth_saml" "samlResource" {
org_name = "string"
new_idp_sso_descriptor = "string"
}
var samlResource = new SAML("samlResource", SAMLArgs.builder()
.orgName("string")
.newIdpSsoDescriptor("string")
.build());
saml_resource = pulumiservice.api.auth.SAML("samlResource",
org_name="string",
new_idp_sso_descriptor="string")
const samlResource = new pulumiservice.api.auth.SAML("samlResource", {
orgName: "string",
newIdpSsoDescriptor: "string",
});
type: pulumiservice:api/auth:SAML
properties:
newIdpSsoDescriptor: string
orgName: string
SAML Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SAML resource accepts the following input properties:
- Org
Name string - The organization name
- New
Idp stringSso Descriptor - The new IDP SSO descriptor XML for the SAML configuration.
- Org
Name string - The organization name
- New
Idp stringSso Descriptor - The new IDP SSO descriptor XML for the SAML configuration.
- org_
name string - The organization name
- new_
idp_ stringsso_ descriptor - The new IDP SSO descriptor XML for the SAML configuration.
- org
Name String - The organization name
- new
Idp StringSso Descriptor - The new IDP SSO descriptor XML for the SAML configuration.
- org
Name string - The organization name
- new
Idp stringSso Descriptor - The new IDP SSO descriptor XML for the SAML configuration.
- org_
name str - The organization name
- new_
idp_ strsso_ descriptor - The new IDP SSO descriptor XML for the SAML configuration.
- org
Name String - The organization name
- new
Idp StringSso Descriptor - The new IDP SSO descriptor XML for the SAML configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the SAML resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Idp
Sso stringDescriptor - The SAML Identity Provider SSO descriptor XML.
- Organization object
- The Pulumi organization.
- Entity
Id string - The following fields can be empty if the metadata (IDPSSODescriptor) itself is empty for the organization.
- Name
Id stringFormat - The SAML NameID format used by the identity provider.
- Sso
Url string - The SSO URL for the identity provider.
- Valid
Until string - ValidUntil is the date until which the X.509 Certificate issued to the organization by the identity provider is valid.
- Validation
Error string - ValidationError will be set only if there is an error validating the SAML org's metadata XML.
- Id string
- The provider-assigned unique ID for this managed resource.
- Idp
Sso stringDescriptor - The SAML Identity Provider SSO descriptor XML.
- Organization interface{}
- The Pulumi organization.
- Entity
Id string - The following fields can be empty if the metadata (IDPSSODescriptor) itself is empty for the organization.
- Name
Id stringFormat - The SAML NameID format used by the identity provider.
- Sso
Url string - The SSO URL for the identity provider.
- Valid
Until string - ValidUntil is the date until which the X.509 Certificate issued to the organization by the identity provider is valid.
- Validation
Error string - ValidationError will be set only if there is an error validating the SAML org's metadata XML.
- id string
- The provider-assigned unique ID for this managed resource.
- idp_
sso_ stringdescriptor - The SAML Identity Provider SSO descriptor XML.
- organization any
- The Pulumi organization.
- entity_
id string - The following fields can be empty if the metadata (IDPSSODescriptor) itself is empty for the organization.
- name_
id_ stringformat - The SAML NameID format used by the identity provider.
- sso_
url string - The SSO URL for the identity provider.
- valid_
until string - ValidUntil is the date until which the X.509 Certificate issued to the organization by the identity provider is valid.
- validation_
error string - ValidationError will be set only if there is an error validating the SAML org's metadata XML.
- id String
- The provider-assigned unique ID for this managed resource.
- idp
Sso StringDescriptor - The SAML Identity Provider SSO descriptor XML.
- organization Object
- The Pulumi organization.
- entity
Id String - The following fields can be empty if the metadata (IDPSSODescriptor) itself is empty for the organization.
- name
Id StringFormat - The SAML NameID format used by the identity provider.
- sso
Url String - The SSO URL for the identity provider.
- valid
Until String - ValidUntil is the date until which the X.509 Certificate issued to the organization by the identity provider is valid.
- validation
Error String - ValidationError will be set only if there is an error validating the SAML org's metadata XML.
- id string
- The provider-assigned unique ID for this managed resource.
- idp
Sso stringDescriptor - The SAML Identity Provider SSO descriptor XML.
- organization any
- The Pulumi organization.
- entity
Id string - The following fields can be empty if the metadata (IDPSSODescriptor) itself is empty for the organization.
- name
Id stringFormat - The SAML NameID format used by the identity provider.
- sso
Url string - The SSO URL for the identity provider.
- valid
Until string - ValidUntil is the date until which the X.509 Certificate issued to the organization by the identity provider is valid.
- validation
Error string - ValidationError will be set only if there is an error validating the SAML org's metadata XML.
- id str
- The provider-assigned unique ID for this managed resource.
- idp_
sso_ strdescriptor - The SAML Identity Provider SSO descriptor XML.
- organization Any
- The Pulumi organization.
- entity_
id str - The following fields can be empty if the metadata (IDPSSODescriptor) itself is empty for the organization.
- name_
id_ strformat - The SAML NameID format used by the identity provider.
- sso_
url str - The SSO URL for the identity provider.
- valid_
until str - ValidUntil is the date until which the X.509 Certificate issued to the organization by the identity provider is valid.
- validation_
error str - ValidationError will be set only if there is an error validating the SAML org's metadata XML.
- id String
- The provider-assigned unique ID for this managed resource.
- idp
Sso StringDescriptor - The SAML Identity Provider SSO descriptor XML.
- organization Any
- The Pulumi organization.
- entity
Id String - The following fields can be empty if the metadata (IDPSSODescriptor) itself is empty for the organization.
- name
Id StringFormat - The SAML NameID format used by the identity provider.
- sso
Url String - The SSO URL for the identity provider.
- valid
Until String - ValidUntil is the date until which the X.509 Certificate issued to the organization by the identity provider is valid.
- validation
Error String - ValidationError will be set only if there is an error validating the SAML org's metadata XML.
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0
This provider is currently in preview.
published on Thursday, May 21, 2026 by Pulumi