published on Tuesday, Apr 14, 2026 by pulumiverse
published on Tuesday, Apr 14, 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 dictionaryThe following arguments are supported:
- Organization
Id string - The organization ID
- Organization
Id string - The organization ID
- organization
Id String - The organization ID
- organization
Id string - The organization ID
- organization_
id str - The organization ID
- organization
Id String - The organization ID
getSaml Result
The following output properties are available:
- Entity
Id string - The entity ID of the SAML Identity Provider
- Id string
- The ID of the SAML configuration
- Organization
Id string - The organization ID
- Service
Provider Pulumiverse.Scaleway. Iam. Outputs. Get Saml Service Provider - The Service Provider information
- Single
Sign stringOn Url - The single sign-on URL of the SAML Identity Provider
- Status string
- The status of the SAML configuration
- Entity
Id string - The entity ID of the SAML Identity Provider
- Id string
- The ID of the SAML configuration
- Organization
Id string - The organization ID
- Service
Provider GetSaml Service Provider - The Service Provider information
- Single
Sign stringOn Url - The single sign-on URL of the SAML Identity Provider
- Status string
- The status of the SAML configuration
- entity
Id String - The entity ID of the SAML Identity Provider
- id String
- The ID of the SAML configuration
- organization
Id String - The organization ID
- service
Provider GetSaml Service Provider - The Service Provider information
- single
Sign StringOn Url - The single sign-on URL of the SAML Identity Provider
- status String
- The status of the SAML configuration
- entity
Id string - The entity ID of the SAML Identity Provider
- id string
- The ID of the SAML configuration
- organization
Id string - The organization ID
- service
Provider GetSaml Service Provider - The Service Provider information
- single
Sign stringOn Url - 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 GetSaml Service Provider - The Service Provider information
- single_
sign_ stron_ url - The single sign-on URL of the SAML Identity Provider
- status str
- The status of the SAML configuration
- entity
Id String - The entity ID of the SAML Identity Provider
- id String
- The ID of the SAML configuration
- organization
Id String - The organization ID
- service
Provider Property Map - The Service Provider information
- single
Sign StringOn Url - The single sign-on URL of the SAML Identity Provider
- status String
- The status of the SAML configuration
Supporting Types
GetSamlServiceProvider
- Assertion
Consumer stringService Url - Entity
Id string
- Assertion
Consumer stringService Url - Entity
Id string
- assertion
Consumer StringService Url - entity
Id String
- assertion
Consumer stringService Url - entity
Id string
- assertion
Consumer StringService Url - entity
Id String
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
published on Tuesday, Apr 14, 2026 by pulumiverse
