published on Friday, Jul 17, 2026 by pulumiverse
published on Friday, Jul 17, 2026 by pulumiverse
SCIM Token resource allows you to create and manage SCIM tokens for SCIM configurations.
SCIM tokens are used to authenticate to SCIM endpoints for automated user provisioning and management. Each token is associated with a specific SCIM configuration and has an expiration time.
Note: The bearer token is only available at creation time and is marked as sensitive. It cannot be retrieved after creation. If you lose the token, you will need to create a new one.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
//## Basic SCIM Token creation
// Enable SCIM for your organization
const main = new scaleway.iam.Scim("main", {organizationId: "your-organization-id"});
// Create a SCIM token
const mainScimToken = new scaleway.iam.ScimToken("main", {
scimId: main.id,
organizationId: "your-organization-id",
});
import pulumi
import pulumiverse_scaleway as scaleway
### Basic SCIM Token creation
# Enable SCIM for your organization
main = scaleway.iam.Scim("main", organization_id="your-organization-id")
# Create a SCIM token
main_scim_token = scaleway.iam.ScimToken("main",
scim_id=main.id,
organization_id="your-organization-id")
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 {
// ## Basic SCIM Token creation
// Enable SCIM for your organization
main, err := iam.NewScim(ctx, "main", &iam.ScimArgs{
OrganizationId: pulumi.String("your-organization-id"),
})
if err != nil {
return err
}
// Create a SCIM token
_, err = iam.NewScimToken(ctx, "main", &iam.ScimTokenArgs{
ScimId: main.ID(),
OrganizationId: pulumi.String("your-organization-id"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
//## Basic SCIM Token creation
// Enable SCIM for your organization
var main = new Scaleway.Iam.Scim("main", new()
{
OrganizationId = "your-organization-id",
});
// Create a SCIM token
var mainScimToken = new Scaleway.Iam.ScimToken("main", new()
{
ScimId = main.Id,
OrganizationId = "your-organization-id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.iam.Scim;
import com.pulumi.scaleway.iam.ScimArgs;
import com.pulumi.scaleway.iam.ScimToken;
import com.pulumi.scaleway.iam.ScimTokenArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
//## Basic SCIM Token creation
// Enable SCIM for your organization
var main = new Scim("main", ScimArgs.builder()
.organizationId("your-organization-id")
.build());
// Create a SCIM token
var mainScimToken = new ScimToken("mainScimToken", ScimTokenArgs.builder()
.scimId(main.id())
.organizationId("your-organization-id")
.build());
}
}
resources:
### Basic SCIM Token creation
# Enable SCIM for your organization
main:
type: scaleway:iam:Scim
properties:
organizationId: your-organization-id
# Create a SCIM token
mainScimToken:
type: scaleway:iam:ScimToken
name: main
properties:
scimId: ${main.id}
organizationId: your-organization-id
Example coming soon!
Create ScimToken Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScimToken(name: string, args: ScimTokenArgs, opts?: CustomResourceOptions);@overload
def ScimToken(resource_name: str,
args: ScimTokenArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ScimToken(resource_name: str,
opts: Optional[ResourceOptions] = None,
scim_id: Optional[str] = None,
organization_id: Optional[str] = None)func NewScimToken(ctx *Context, name string, args ScimTokenArgs, opts ...ResourceOption) (*ScimToken, error)public ScimToken(string name, ScimTokenArgs args, CustomResourceOptions? opts = null)
public ScimToken(String name, ScimTokenArgs args)
public ScimToken(String name, ScimTokenArgs args, CustomResourceOptions options)
type: scaleway:iam:ScimToken
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "scaleway_iam_scim_token" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ScimTokenArgs
- 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 ScimTokenArgs
- 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 ScimTokenArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScimTokenArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScimTokenArgs
- 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 scimTokenResource = new Scaleway.Iam.ScimToken("scimTokenResource", new()
{
ScimId = "string",
OrganizationId = "string",
});
example, err := iam.NewScimToken(ctx, "scimTokenResource", &iam.ScimTokenArgs{
ScimId: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
})
resource "scaleway_iam_scim_token" "scimTokenResource" {
lifecycle {
create_before_destroy = true
}
scim_id = "string"
organization_id = "string"
}
var scimTokenResource = new ScimToken("scimTokenResource", ScimTokenArgs.builder()
.scimId("string")
.organizationId("string")
.build());
scim_token_resource = scaleway.iam.ScimToken("scimTokenResource",
scim_id="string",
organization_id="string")
const scimTokenResource = new scaleway.iam.ScimToken("scimTokenResource", {
scimId: "string",
organizationId: "string",
});
type: scaleway:iam:ScimToken
properties:
organizationId: string
scimId: string
ScimToken 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 ScimToken resource accepts the following input properties:
- Scim
Id string - The SCIM configuration ID for which to create the token.
- Organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- Scim
Id string - The SCIM configuration ID for which to create the token.
- Organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- scim_
id string - The SCIM configuration ID for which to create the token.
- organization_
id string - The organization ID. If not provided, the default organization configured in the provider is used.
- scim
Id String - The SCIM configuration ID for which to create the token.
- organization
Id String - The organization ID. If not provided, the default organization configured in the provider is used.
- scim
Id string - The SCIM configuration ID for which to create the token.
- organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- scim_
id str - The SCIM configuration ID for which to create the token.
- organization_
id str - The organization ID. If not provided, the default organization configured in the provider is used.
- scim
Id String - The SCIM configuration ID for which to create the token.
- organization
Id String - The organization ID. If not provided, the default organization configured in the provider is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the ScimToken resource produces the following output properties:
- Bearer
Token string - The Bearer Token to use to authenticate to SCIM endpoints.
- Created
At string - The date and time of SCIM token creation
- Expires
At string - The date and time when the SCIM token expires
- Id string
- The provider-assigned unique ID for this managed resource.
- Bearer
Token string - The Bearer Token to use to authenticate to SCIM endpoints.
- Created
At string - The date and time of SCIM token creation
- Expires
At string - The date and time when the SCIM token expires
- Id string
- The provider-assigned unique ID for this managed resource.
- bearer_
token string - The Bearer Token to use to authenticate to SCIM endpoints.
- created_
at string - The date and time of SCIM token creation
- expires_
at string - The date and time when the SCIM token expires
- id string
- The provider-assigned unique ID for this managed resource.
- bearer
Token String - The Bearer Token to use to authenticate to SCIM endpoints.
- created
At String - The date and time of SCIM token creation
- expires
At String - The date and time when the SCIM token expires
- id String
- The provider-assigned unique ID for this managed resource.
- bearer
Token string - The Bearer Token to use to authenticate to SCIM endpoints.
- created
At string - The date and time of SCIM token creation
- expires
At string - The date and time when the SCIM token expires
- id string
- The provider-assigned unique ID for this managed resource.
- bearer_
token str - The Bearer Token to use to authenticate to SCIM endpoints.
- created_
at str - The date and time of SCIM token creation
- expires_
at str - The date and time when the SCIM token expires
- id str
- The provider-assigned unique ID for this managed resource.
- bearer
Token String - The Bearer Token to use to authenticate to SCIM endpoints.
- created
At String - The date and time of SCIM token creation
- expires
At String - The date and time when the SCIM token expires
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ScimToken Resource
Get an existing ScimToken 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?: ScimTokenState, opts?: CustomResourceOptions): ScimToken@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bearer_token: Optional[str] = None,
created_at: Optional[str] = None,
expires_at: Optional[str] = None,
organization_id: Optional[str] = None,
scim_id: Optional[str] = None) -> ScimTokenfunc GetScimToken(ctx *Context, name string, id IDInput, state *ScimTokenState, opts ...ResourceOption) (*ScimToken, error)public static ScimToken Get(string name, Input<string> id, ScimTokenState? state, CustomResourceOptions? opts = null)public static ScimToken get(String name, Output<String> id, ScimTokenState state, CustomResourceOptions options)resources: _: type: scaleway:iam:ScimToken get: id: ${id}import {
to = scaleway_iam_scim_token.example
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.
- Bearer
Token string - The Bearer Token to use to authenticate to SCIM endpoints.
- Created
At string - The date and time of SCIM token creation
- Expires
At string - The date and time when the SCIM token expires
- Organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- Scim
Id string - The SCIM configuration ID for which to create the token.
- Bearer
Token string - The Bearer Token to use to authenticate to SCIM endpoints.
- Created
At string - The date and time of SCIM token creation
- Expires
At string - The date and time when the SCIM token expires
- Organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- Scim
Id string - The SCIM configuration ID for which to create the token.
- bearer_
token string - The Bearer Token to use to authenticate to SCIM endpoints.
- created_
at string - The date and time of SCIM token creation
- expires_
at string - The date and time when the SCIM token expires
- organization_
id string - The organization ID. If not provided, the default organization configured in the provider is used.
- scim_
id string - The SCIM configuration ID for which to create the token.
- bearer
Token String - The Bearer Token to use to authenticate to SCIM endpoints.
- created
At String - The date and time of SCIM token creation
- expires
At String - The date and time when the SCIM token expires
- organization
Id String - The organization ID. If not provided, the default organization configured in the provider is used.
- scim
Id String - The SCIM configuration ID for which to create the token.
- bearer
Token string - The Bearer Token to use to authenticate to SCIM endpoints.
- created
At string - The date and time of SCIM token creation
- expires
At string - The date and time when the SCIM token expires
- organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- scim
Id string - The SCIM configuration ID for which to create the token.
- bearer_
token str - The Bearer Token to use to authenticate to SCIM endpoints.
- created_
at str - The date and time of SCIM token creation
- expires_
at str - The date and time when the SCIM token expires
- organization_
id str - The organization ID. If not provided, the default organization configured in the provider is used.
- scim_
id str - The SCIM configuration ID for which to create the token.
- bearer
Token String - The Bearer Token to use to authenticate to SCIM endpoints.
- created
At String - The date and time of SCIM token creation
- expires
At String - The date and time when the SCIM token expires
- organization
Id String - The organization ID. If not provided, the default organization configured in the provider is used.
- scim
Id String - The SCIM configuration ID for which to create the token.
Import
SCIM token can be imported using the token ID. The organization ID will be set to the default organization configured in the provider.
$ pulumi import scaleway:iam/scimToken:ScimToken main 11111111-1111-1111-1111-111111111111
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
published on Friday, Jul 17, 2026 by pulumiverse