published on Friday, Apr 17, 2026 by pulumiverse
published on Friday, Apr 17, 2026 by pulumiverse
Manages SAML activation for an organization. SAML (Security Assertion Markup Language) is an open standard for exchanging authentication and authorization data between parties, specifically between an identity provider and a service provider. This resource allows you to enable and disable SAML-based single sign-on for your Scaleway organization.
For configuring SAML parameters (entityId and singleSignOnUrl), use the scalewayIamUpdateSamlConfiguration action.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
//## Enable IAM SAML for an organization
const main = new scaleway.iam.Saml("main", {organizationId: "11111111-1111-1111-1111-111111111111"});
import pulumi
import pulumiverse_scaleway as scaleway
### Enable IAM SAML for an organization
main = scaleway.iam.Saml("main", organization_id="11111111-1111-1111-1111-111111111111")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/iam"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// ## Enable IAM SAML for an organization
_, err := iam.NewSaml(ctx, "main", &iam.SamlArgs{
OrganizationId: pulumi.String("11111111-1111-1111-1111-111111111111"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
//## Enable IAM SAML for an organization
var main = new Scaleway.Iam.Saml("main", new()
{
OrganizationId = "11111111-1111-1111-1111-111111111111",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.iam.Saml;
import com.pulumi.scaleway.iam.SamlArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
//## Enable IAM SAML for an organization
var main = new Saml("main", SamlArgs.builder()
.organizationId("11111111-1111-1111-1111-111111111111")
.build());
}
}
resources:
### Enable IAM SAML for an organization
main:
type: scaleway:iam:Saml
properties:
organizationId: 11111111-1111-1111-1111-111111111111
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: Optional[SamlArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Saml(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization_id: Optional[str] = None)func NewSaml(ctx *Context, name string, args *SamlArgs, opts ...ResourceOption) (*Saml, error)public Saml(string name, SamlArgs? args = null, CustomResourceOptions? opts = null)type: scaleway:iam:Saml
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
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 Scaleway.Iam.Saml("samlResource", new()
{
OrganizationId = "string",
});
example, err := iam.NewSaml(ctx, "samlResource", &iam.SamlArgs{
OrganizationId: pulumi.String("string"),
})
var samlResource = new Saml("samlResource", SamlArgs.builder()
.organizationId("string")
.build());
saml_resource = scaleway.iam.Saml("samlResource", organization_id="string")
const samlResource = new scaleway.iam.Saml("samlResource", {organizationId: "string"});
type: scaleway:iam:Saml
properties:
organizationId: 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:
- Organization
Id string - The organization ID. If not provided, the default organization ID will be used.
- Organization
Id string - The organization ID. If not provided, the default organization ID will be used.
- organization
Id String - The organization ID. If not provided, the default organization ID will be used.
- organization
Id string - The organization ID. If not provided, the default organization ID will be used.
- organization_
id str - The organization ID. If not provided, the default organization ID will be used.
- organization
Id String - The organization ID. If not provided, the default organization ID will be used.
Outputs
All input properties are implicitly available as output properties. Additionally, the Saml resource produces the following output properties:
- Entity
Id string - (Computed) The entity ID of the Service Provider.
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Provider Pulumiverse.Scaleway. Iam. Outputs. Saml Service Provider - (Computed) The Service Provider information. It contains:
- Single
Sign stringOn Url - (Computed) The single sign-on URL of the SAML Identity Provider.
- Status string
- (Computed) The status of the SAML configuration.
- Entity
Id string - (Computed) The entity ID of the Service Provider.
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Provider SamlService Provider - (Computed) The Service Provider information. It contains:
- Single
Sign stringOn Url - (Computed) The single sign-on URL of the SAML Identity Provider.
- Status string
- (Computed) The status of the SAML configuration.
- entity
Id String - (Computed) The entity ID of the Service Provider.
- id String
- The provider-assigned unique ID for this managed resource.
- service
Provider SamlService Provider - (Computed) The Service Provider information. It contains:
- single
Sign StringOn Url - (Computed) The single sign-on URL of the SAML Identity Provider.
- status String
- (Computed) The status of the SAML configuration.
- entity
Id string - (Computed) The entity ID of the Service Provider.
- id string
- The provider-assigned unique ID for this managed resource.
- service
Provider SamlService Provider - (Computed) The Service Provider information. It contains:
- single
Sign stringOn Url - (Computed) The single sign-on URL of the SAML Identity Provider.
- status string
- (Computed) The status of the SAML configuration.
- entity_
id str - (Computed) The entity ID of the Service Provider.
- id str
- The provider-assigned unique ID for this managed resource.
- service_
provider SamlService Provider - (Computed) The Service Provider information. It contains:
- single_
sign_ stron_ url - (Computed) The single sign-on URL of the SAML Identity Provider.
- status str
- (Computed) The status of the SAML configuration.
- entity
Id String - (Computed) The entity ID of the Service Provider.
- id String
- The provider-assigned unique ID for this managed resource.
- service
Provider Property Map - (Computed) The Service Provider information. It contains:
- single
Sign StringOn Url - (Computed) The single sign-on URL of the SAML Identity Provider.
- status String
- (Computed) The status of the SAML configuration.
Look up Existing Saml Resource
Get an existing Saml resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SamlState, opts?: CustomResourceOptions): Saml@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
entity_id: Optional[str] = None,
organization_id: Optional[str] = None,
service_provider: Optional[SamlServiceProviderArgs] = None,
single_sign_on_url: Optional[str] = None,
status: Optional[str] = None) -> Samlfunc GetSaml(ctx *Context, name string, id IDInput, state *SamlState, opts ...ResourceOption) (*Saml, error)public static Saml Get(string name, Input<string> id, SamlState? state, CustomResourceOptions? opts = null)public static Saml get(String name, Output<String> id, SamlState state, CustomResourceOptions options)resources: _: type: scaleway:iam:Saml get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Entity
Id string - (Computed) The entity ID of the Service Provider.
- Organization
Id string - The organization ID. If not provided, the default organization ID will be used.
- Service
Provider Pulumiverse.Scaleway. Iam. Inputs. Saml Service Provider - (Computed) The Service Provider information. It contains:
- Single
Sign stringOn Url - (Computed) The single sign-on URL of the SAML Identity Provider.
- Status string
- (Computed) The status of the SAML configuration.
- Entity
Id string - (Computed) The entity ID of the Service Provider.
- Organization
Id string - The organization ID. If not provided, the default organization ID will be used.
- Service
Provider SamlService Provider Args - (Computed) The Service Provider information. It contains:
- Single
Sign stringOn Url - (Computed) The single sign-on URL of the SAML Identity Provider.
- Status string
- (Computed) The status of the SAML configuration.
- entity
Id String - (Computed) The entity ID of the Service Provider.
- organization
Id String - The organization ID. If not provided, the default organization ID will be used.
- service
Provider SamlService Provider - (Computed) The Service Provider information. It contains:
- single
Sign StringOn Url - (Computed) The single sign-on URL of the SAML Identity Provider.
- status String
- (Computed) The status of the SAML configuration.
- entity
Id string - (Computed) The entity ID of the Service Provider.
- organization
Id string - The organization ID. If not provided, the default organization ID will be used.
- service
Provider SamlService Provider - (Computed) The Service Provider information. It contains:
- single
Sign stringOn Url - (Computed) The single sign-on URL of the SAML Identity Provider.
- status string
- (Computed) The status of the SAML configuration.
- entity_
id str - (Computed) The entity ID of the Service Provider.
- organization_
id str - The organization ID. If not provided, the default organization ID will be used.
- service_
provider SamlService Provider Args - (Computed) The Service Provider information. It contains:
- single_
sign_ stron_ url - (Computed) The single sign-on URL of the SAML Identity Provider.
- status str
- (Computed) The status of the SAML configuration.
- entity
Id String - (Computed) The entity ID of the Service Provider.
- organization
Id String - The organization ID. If not provided, the default organization ID will be used.
- service
Provider Property Map - (Computed) The Service Provider information. It contains:
- single
Sign StringOn Url - (Computed) The single sign-on URL of the SAML Identity Provider.
- status String
- (Computed) The status of the SAML configuration.
Supporting Types
SamlServiceProvider, SamlServiceProviderArgs
- Assertion
Consumer stringService Url - (Computed) The assertion consumer service URL of the Service Provider.
- Entity
Id string - (Computed) The entity ID of the Service Provider.
- Assertion
Consumer stringService Url - (Computed) The assertion consumer service URL of the Service Provider.
- Entity
Id string - (Computed) The entity ID of the Service Provider.
- assertion
Consumer StringService Url - (Computed) The assertion consumer service URL of the Service Provider.
- entity
Id String - (Computed) The entity ID of the Service Provider.
- assertion
Consumer stringService Url - (Computed) The assertion consumer service URL of the Service Provider.
- entity
Id string - (Computed) The entity ID of the Service Provider.
- assertion_
consumer_ strservice_ url - (Computed) The assertion consumer service URL of the Service Provider.
- entity_
id str - (Computed) The entity ID of the Service Provider.
- assertion
Consumer StringService Url - (Computed) The assertion consumer service URL of the Service Provider.
- entity
Id String - (Computed) The entity ID of the Service Provider.
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
published on Friday, Apr 17, 2026 by pulumiverse
