published on Friday, Apr 17, 2026 by pulumiverse
published on Friday, Apr 17, 2026 by pulumiverse
Manages SAML certificates for an organization. SAML certificates are used to establish trust between your organization and identity providers. 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 manage SAML certificates in your Scaleway organization.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
//## Enable IAM SAML for the default organization and add a signing certificate
const test = new scaleway.iam.Saml("test", {});
const main = new scaleway.iam.SamlCertificate("main", {
samlId: test.id,
type: "signing",
content: "<signing certificate generated by your Identity Provider>",
});
import pulumi
import pulumiverse_scaleway as scaleway
### Enable IAM SAML for the default organization and add a signing certificate
test = scaleway.iam.Saml("test")
main = scaleway.iam.SamlCertificate("main",
saml_id=test.id,
type="signing",
content="<signing certificate generated by your Identity Provider>")
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 the default organization and add a signing certificate
test, err := iam.NewSaml(ctx, "test", nil)
if err != nil {
return err
}
_, err = iam.NewSamlCertificate(ctx, "main", &iam.SamlCertificateArgs{
SamlId: test.ID(),
Type: pulumi.String("signing"),
Content: pulumi.String("<signing certificate generated by your Identity Provider>"),
})
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 the default organization and add a signing certificate
var test = new Scaleway.Iam.Saml("test");
var main = new Scaleway.Iam.SamlCertificate("main", new()
{
SamlId = test.Id,
Type = "signing",
Content = "<signing certificate generated by your Identity Provider>",
});
});
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.SamlCertificate;
import com.pulumi.scaleway.iam.SamlCertificateArgs;
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 the default organization and add a signing certificate
var test = new Saml("test");
var main = new SamlCertificate("main", SamlCertificateArgs.builder()
.samlId(test.id())
.type("signing")
.content("<signing certificate generated by your Identity Provider>")
.build());
}
}
resources:
### Enable IAM SAML for the default organization and add a signing certificate
test:
type: scaleway:iam:Saml
main:
type: scaleway:iam:SamlCertificate
properties:
samlId: ${test.id}
type: signing
content: <signing certificate generated by your Identity Provider>
Create SamlCertificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SamlCertificate(name: string, args: SamlCertificateArgs, opts?: CustomResourceOptions);@overload
def SamlCertificate(resource_name: str,
args: SamlCertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SamlCertificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
content: Optional[str] = None,
type: Optional[str] = None,
organization_id: Optional[str] = None,
saml_id: Optional[str] = None)func NewSamlCertificate(ctx *Context, name string, args SamlCertificateArgs, opts ...ResourceOption) (*SamlCertificate, error)public SamlCertificate(string name, SamlCertificateArgs args, CustomResourceOptions? opts = null)
public SamlCertificate(String name, SamlCertificateArgs args)
public SamlCertificate(String name, SamlCertificateArgs args, CustomResourceOptions options)
type: scaleway:iam:SamlCertificate
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 SamlCertificateArgs
- 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 SamlCertificateArgs
- 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 SamlCertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SamlCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SamlCertificateArgs
- 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 samlCertificateResource = new Scaleway.Iam.SamlCertificate("samlCertificateResource", new()
{
Content = "string",
Type = "string",
OrganizationId = "string",
SamlId = "string",
});
example, err := iam.NewSamlCertificate(ctx, "samlCertificateResource", &iam.SamlCertificateArgs{
Content: pulumi.String("string"),
Type: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
SamlId: pulumi.String("string"),
})
var samlCertificateResource = new SamlCertificate("samlCertificateResource", SamlCertificateArgs.builder()
.content("string")
.type("string")
.organizationId("string")
.samlId("string")
.build());
saml_certificate_resource = scaleway.iam.SamlCertificate("samlCertificateResource",
content="string",
type="string",
organization_id="string",
saml_id="string")
const samlCertificateResource = new scaleway.iam.SamlCertificate("samlCertificateResource", {
content: "string",
type: "string",
organizationId: "string",
samlId: "string",
});
type: scaleway:iam:SamlCertificate
properties:
content: string
organizationId: string
samlId: string
type: string
SamlCertificate 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 SamlCertificate resource accepts the following input properties:
- Content string
- The content of the SAML certificate
- Type string
- The type of the SAML certificate. Possible values are:
signing,encryption. - Organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- Saml
Id string - The ID of the SAML configuration. If not provided, the organization's SAML configuration is used.
- Content string
- The content of the SAML certificate
- Type string
- The type of the SAML certificate. Possible values are:
signing,encryption. - Organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- Saml
Id string - The ID of the SAML configuration. If not provided, the organization's SAML configuration is used.
- content String
- The content of the SAML certificate
- type String
- The type of the SAML certificate. Possible values are:
signing,encryption. - organization
Id String - The organization ID. If not provided, the default organization configured in the provider is used.
- saml
Id String - The ID of the SAML configuration. If not provided, the organization's SAML configuration is used.
- content string
- The content of the SAML certificate
- type string
- The type of the SAML certificate. Possible values are:
signing,encryption. - organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- saml
Id string - The ID of the SAML configuration. If not provided, the organization's SAML configuration is used.
- content str
- The content of the SAML certificate
- type str
- The type of the SAML certificate. Possible values are:
signing,encryption. - organization_
id str - The organization ID. If not provided, the default organization configured in the provider is used.
- saml_
id str - The ID of the SAML configuration. If not provided, the organization's SAML configuration is used.
- content String
- The content of the SAML certificate
- type String
- The type of the SAML certificate. Possible values are:
signing,encryption. - organization
Id String - The organization ID. If not provided, the default organization configured in the provider is used.
- saml
Id String - The ID of the SAML configuration. If not provided, the organization's SAML configuration is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the SamlCertificate resource produces the following output properties:
- expires_
at str - (String) The expiration date and time of the SAML certificate
- id str
- The provider-assigned unique ID for this managed resource.
- origin str
- (String) The origin of the SAML certificate. Possible values are:
scaleway,identityProvider.
Look up Existing SamlCertificate Resource
Get an existing SamlCertificate 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?: SamlCertificateState, opts?: CustomResourceOptions): SamlCertificate@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
content: Optional[str] = None,
expires_at: Optional[str] = None,
organization_id: Optional[str] = None,
origin: Optional[str] = None,
saml_id: Optional[str] = None,
type: Optional[str] = None) -> SamlCertificatefunc GetSamlCertificate(ctx *Context, name string, id IDInput, state *SamlCertificateState, opts ...ResourceOption) (*SamlCertificate, error)public static SamlCertificate Get(string name, Input<string> id, SamlCertificateState? state, CustomResourceOptions? opts = null)public static SamlCertificate get(String name, Output<String> id, SamlCertificateState state, CustomResourceOptions options)resources: _: type: scaleway:iam:SamlCertificate 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.
- Content string
- The content of the SAML certificate
- Expires
At string - (String) The expiration date and time of the SAML certificate
- Organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- Origin string
- (String) The origin of the SAML certificate. Possible values are:
scaleway,identityProvider. - Saml
Id string - The ID of the SAML configuration. If not provided, the organization's SAML configuration is used.
- Type string
- The type of the SAML certificate. Possible values are:
signing,encryption.
- Content string
- The content of the SAML certificate
- Expires
At string - (String) The expiration date and time of the SAML certificate
- Organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- Origin string
- (String) The origin of the SAML certificate. Possible values are:
scaleway,identityProvider. - Saml
Id string - The ID of the SAML configuration. If not provided, the organization's SAML configuration is used.
- Type string
- The type of the SAML certificate. Possible values are:
signing,encryption.
- content String
- The content of the SAML certificate
- expires
At String - (String) The expiration date and time of the SAML certificate
- organization
Id String - The organization ID. If not provided, the default organization configured in the provider is used.
- origin String
- (String) The origin of the SAML certificate. Possible values are:
scaleway,identityProvider. - saml
Id String - The ID of the SAML configuration. If not provided, the organization's SAML configuration is used.
- type String
- The type of the SAML certificate. Possible values are:
signing,encryption.
- content string
- The content of the SAML certificate
- expires
At string - (String) The expiration date and time of the SAML certificate
- organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- origin string
- (String) The origin of the SAML certificate. Possible values are:
scaleway,identityProvider. - saml
Id string - The ID of the SAML configuration. If not provided, the organization's SAML configuration is used.
- type string
- The type of the SAML certificate. Possible values are:
signing,encryption.
- content str
- The content of the SAML certificate
- expires_
at str - (String) The expiration date and time of the SAML certificate
- organization_
id str - The organization ID. If not provided, the default organization configured in the provider is used.
- origin str
- (String) The origin of the SAML certificate. Possible values are:
scaleway,identityProvider. - saml_
id str - The ID of the SAML configuration. If not provided, the organization's SAML configuration is used.
- type str
- The type of the SAML certificate. Possible values are:
signing,encryption.
- content String
- The content of the SAML certificate
- expires
At String - (String) The expiration date and time of the SAML certificate
- organization
Id String - The organization ID. If not provided, the default organization configured in the provider is used.
- origin String
- (String) The origin of the SAML certificate. Possible values are:
scaleway,identityProvider. - saml
Id String - The ID of the SAML configuration. If not provided, the organization's SAML configuration is used.
- type String
- The type of the SAML certificate. Possible values are:
signing,encryption.
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
