1. Packages
  2. Packages
  3. Scaleway
  4. API Docs
  5. iam
  6. getSaml
Viewing docs for Scaleway v1.48.0
published on Wednesday, Apr 29, 2026 by pulumiverse
scaleway logo
Viewing docs for Scaleway v1.48.0
published on Wednesday, Apr 29, 2026 by pulumiverse

    Retrieves SAML configuration for an organization. This data source enables you to retrieve the SAML-based single sign-on (SSO) configuration for your Scaleway 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.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    //## Get information about an organization's SAML configuration
    const main = scaleway.iam.getSaml({
        organizationId: "11111111-1111-1111-1111-111111111111",
    });
    
    import pulumi
    import pulumi_scaleway as scaleway
    
    ### Get information about an organization's SAML configuration
    main = scaleway.iam.get_saml(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 {
    		// ## Get information about an organization's SAML configuration
    		_, err := iam.LookupSaml(ctx, &iam.LookupSamlArgs{
    			OrganizationId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        //## Get information about an organization's SAML configuration
        var main = Scaleway.Iam.GetSaml.Invoke(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.IamFunctions;
    import com.pulumi.scaleway.iam.inputs.GetSamlArgs;
    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) {
            //## Get information about an organization's SAML configuration
            final var main = IamFunctions.getSaml(GetSamlArgs.builder()
                .organizationId("11111111-1111-1111-1111-111111111111")
                .build());
    
        }
    }
    
    variables:
      ### Get information about an organization's SAML configuration
      main:
        fn::invoke:
          function: scaleway:iam:getSaml
          arguments:
            organizationId: 11111111-1111-1111-1111-111111111111
    

    Using getSaml

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSaml(args: GetSamlArgs, opts?: InvokeOptions): Promise<GetSamlResult>
    function getSamlOutput(args: GetSamlOutputArgs, opts?: InvokeOptions): Output<GetSamlResult>
    def get_saml(organization_id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetSamlResult
    def get_saml_output(organization_id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetSamlResult]
    func LookupSaml(ctx *Context, args *LookupSamlArgs, opts ...InvokeOption) (*LookupSamlResult, error)
    func LookupSamlOutput(ctx *Context, args *LookupSamlOutputArgs, opts ...InvokeOption) LookupSamlResultOutput

    > Note: This function is named LookupSaml in the Go SDK.

    public static class GetSaml 
    {
        public static Task<GetSamlResult> InvokeAsync(GetSamlArgs args, InvokeOptions? opts = null)
        public static Output<GetSamlResult> Invoke(GetSamlInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSamlResult> getSaml(GetSamlArgs args, InvokeOptions options)
    public static Output<GetSamlResult> getSaml(GetSamlArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scaleway:iam/getSaml:getSaml
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OrganizationId string
    The organization ID
    OrganizationId string
    The organization ID
    organizationId String
    The organization ID
    organizationId string
    The organization ID
    organization_id str
    The organization ID
    organizationId String
    The organization ID

    getSaml Result

    The following output properties are available:

    EntityId string
    The entity ID of the SAML Identity Provider
    Id string
    The ID of the SAML configuration
    OrganizationId string
    The organization ID
    ServiceProvider Pulumiverse.Scaleway.Iam.Outputs.GetSamlServiceProvider
    The Service Provider information
    SingleSignOnUrl string
    The single sign-on URL of the SAML Identity Provider
    Status string
    The status of the SAML configuration
    EntityId string
    The entity ID of the SAML Identity Provider
    Id string
    The ID of the SAML configuration
    OrganizationId string
    The organization ID
    ServiceProvider GetSamlServiceProvider
    The Service Provider information
    SingleSignOnUrl string
    The single sign-on URL of the SAML Identity Provider
    Status string
    The status of the SAML configuration
    entityId String
    The entity ID of the SAML Identity Provider
    id String
    The ID of the SAML configuration
    organizationId String
    The organization ID
    serviceProvider GetSamlServiceProvider
    The Service Provider information
    singleSignOnUrl String
    The single sign-on URL of the SAML Identity Provider
    status String
    The status of the SAML configuration
    entityId string
    The entity ID of the SAML Identity Provider
    id string
    The ID of the SAML configuration
    organizationId string
    The organization ID
    serviceProvider GetSamlServiceProvider
    The Service Provider information
    singleSignOnUrl string
    The single sign-on URL of the SAML Identity Provider
    status string
    The status of the SAML configuration
    entity_id str
    The entity ID of the SAML Identity Provider
    id str
    The ID of the SAML configuration
    organization_id str
    The organization ID
    service_provider GetSamlServiceProvider
    The Service Provider information
    single_sign_on_url str
    The single sign-on URL of the SAML Identity Provider
    status str
    The status of the SAML configuration
    entityId String
    The entity ID of the SAML Identity Provider
    id String
    The ID of the SAML configuration
    organizationId String
    The organization ID
    serviceProvider Property Map
    The Service Provider information
    singleSignOnUrl String
    The single sign-on URL of the SAML Identity Provider
    status String
    The status of the SAML configuration

    Supporting Types

    GetSamlServiceProvider

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Viewing docs for Scaleway v1.48.0
    published on Wednesday, Apr 29, 2026 by pulumiverse
      Try Pulumi Cloud free. Your team will thank you.