1. Packages
  2. Selectel Provider
  3. API Docs
  4. CraasTokenV2
selectel 7.1.0 published on Thursday, Oct 30, 2025 by selectel

selectel.CraasTokenV2

Get Started
selectel logo
selectel 7.1.0 published on Thursday, Oct 30, 2025 by selectel

    Creates and manages tokens in Container Registry using public API v2. For more information about Container Registry, see the official Selectel documentation.

    Basic usage example

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const token1 = new selectel.CraasTokenV2("token1", {
        projectId: selectel_vpc_project_v2.project_1.id,
        modeRw: true,
        allRegistries: true,
        registryIds: [],
        isSet: true,
        expiresAt: "2029-01-01T00:00:00Z",
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    token1 = selectel.CraasTokenV2("token1",
        project_id=selectel_vpc_project_v2["project_1"]["id"],
        mode_rw=True,
        all_registries=True,
        registry_ids=[],
        is_set=True,
        expires_at="2029-01-01T00:00:00Z")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v7/selectel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := selectel.NewCraasTokenV2(ctx, "token1", &selectel.CraasTokenV2Args{
    			ProjectId:     pulumi.Any(selectel_vpc_project_v2.Project_1.Id),
    			ModeRw:        pulumi.Bool(true),
    			AllRegistries: pulumi.Bool(true),
    			RegistryIds:   pulumi.StringArray{},
    			IsSet:         pulumi.Bool(true),
    			ExpiresAt:     pulumi.String("2029-01-01T00:00:00Z"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Selectel = Pulumi.Selectel;
    
    return await Deployment.RunAsync(() => 
    {
        var token1 = new Selectel.CraasTokenV2("token1", new()
        {
            ProjectId = selectel_vpc_project_v2.Project_1.Id,
            ModeRw = true,
            AllRegistries = true,
            RegistryIds = new[] {},
            IsSet = true,
            ExpiresAt = "2029-01-01T00:00:00Z",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.selectel.CraasTokenV2;
    import com.pulumi.selectel.CraasTokenV2Args;
    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) {
            var token1 = new CraasTokenV2("token1", CraasTokenV2Args.builder()
                .projectId(selectel_vpc_project_v2.project_1().id())
                .modeRw(true)
                .allRegistries(true)
                .registryIds()
                .isSet(true)
                .expiresAt("2029-01-01T00:00:00Z")
                .build());
    
        }
    }
    
    resources:
      token1:
        type: selectel:CraasTokenV2
        properties:
          projectId: ${selectel_vpc_project_v2.project_1.id}
          modeRw: true
          allRegistries: true
          registryIds: []
          isSet: true
          expiresAt: 2029-01-01T00:00:00Z
    

    Docker CLI login example

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const token1 = new selectel.CraasTokenV2("token1", {
        projectId: selectel_vpc_project_v2.project_1.id,
        modeRw: true,
        allRegistries: true,
        registryIds: [],
        isSet: true,
        expiresAt: "2029-01-01T00:00:00Z",
    });
    export const registryUsername = token1.username;
    export const registryToken = token1.token;
    
    import pulumi
    import pulumi_selectel as selectel
    
    token1 = selectel.CraasTokenV2("token1",
        project_id=selectel_vpc_project_v2["project_1"]["id"],
        mode_rw=True,
        all_registries=True,
        registry_ids=[],
        is_set=True,
        expires_at="2029-01-01T00:00:00Z")
    pulumi.export("registryUsername", token1.username)
    pulumi.export("registryToken", token1.token)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v7/selectel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		token1, err := selectel.NewCraasTokenV2(ctx, "token1", &selectel.CraasTokenV2Args{
    			ProjectId:     pulumi.Any(selectel_vpc_project_v2.Project_1.Id),
    			ModeRw:        pulumi.Bool(true),
    			AllRegistries: pulumi.Bool(true),
    			RegistryIds:   pulumi.StringArray{},
    			IsSet:         pulumi.Bool(true),
    			ExpiresAt:     pulumi.String("2029-01-01T00:00:00Z"),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("registryUsername", token1.Username)
    		ctx.Export("registryToken", token1.Token)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Selectel = Pulumi.Selectel;
    
    return await Deployment.RunAsync(() => 
    {
        var token1 = new Selectel.CraasTokenV2("token1", new()
        {
            ProjectId = selectel_vpc_project_v2.Project_1.Id,
            ModeRw = true,
            AllRegistries = true,
            RegistryIds = new[] {},
            IsSet = true,
            ExpiresAt = "2029-01-01T00:00:00Z",
        });
    
        return new Dictionary<string, object?>
        {
            ["registryUsername"] = token1.Username,
            ["registryToken"] = token1.Token,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.selectel.CraasTokenV2;
    import com.pulumi.selectel.CraasTokenV2Args;
    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) {
            var token1 = new CraasTokenV2("token1", CraasTokenV2Args.builder()
                .projectId(selectel_vpc_project_v2.project_1().id())
                .modeRw(true)
                .allRegistries(true)
                .registryIds()
                .isSet(true)
                .expiresAt("2029-01-01T00:00:00Z")
                .build());
    
            ctx.export("registryUsername", token1.username());
            ctx.export("registryToken", token1.token());
        }
    }
    
    resources:
      token1:
        type: selectel:CraasTokenV2
        properties:
          projectId: ${selectel_vpc_project_v2.project_1.id}
          modeRw: true
          allRegistries: true
          registryIds: []
          isSet: true
          expiresAt: 2029-01-01T00:00:00Z
    outputs:
      registryUsername: ${token1.username}
      registryToken: ${token1.token}
    
    REGISTRY_USERNAME=$(terraform output -raw registry_username)
    REGISTRY_TOKEN=$(terraform output -raw registry_token)
    echo $REGISTRY_TOKEN | docker login cr.selcloud.ru --username $REGISTRY_USERNAME --password-stdin
    

    Create CraasTokenV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CraasTokenV2(name: string, args: CraasTokenV2Args, opts?: CustomResourceOptions);
    @overload
    def CraasTokenV2(resource_name: str,
                     args: CraasTokenV2Args,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def CraasTokenV2(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     all_registries: Optional[bool] = None,
                     is_set: Optional[bool] = None,
                     mode_rw: Optional[bool] = None,
                     project_id: Optional[str] = None,
                     craas_token_v2_id: Optional[str] = None,
                     expires_at: Optional[str] = None,
                     name: Optional[str] = None,
                     registry_ids: Optional[Sequence[str]] = None)
    func NewCraasTokenV2(ctx *Context, name string, args CraasTokenV2Args, opts ...ResourceOption) (*CraasTokenV2, error)
    public CraasTokenV2(string name, CraasTokenV2Args args, CustomResourceOptions? opts = null)
    public CraasTokenV2(String name, CraasTokenV2Args args)
    public CraasTokenV2(String name, CraasTokenV2Args args, CustomResourceOptions options)
    
    type: selectel:CraasTokenV2
    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 CraasTokenV2Args
    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 CraasTokenV2Args
    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 CraasTokenV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CraasTokenV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CraasTokenV2Args
    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 craasTokenV2Resource = new Selectel.CraasTokenV2("craasTokenV2Resource", new()
    {
        AllRegistries = false,
        IsSet = false,
        ModeRw = false,
        ProjectId = "string",
        CraasTokenV2Id = "string",
        ExpiresAt = "string",
        Name = "string",
        RegistryIds = new[]
        {
            "string",
        },
    });
    
    example, err := selectel.NewCraasTokenV2(ctx, "craasTokenV2Resource", &selectel.CraasTokenV2Args{
    	AllRegistries:  pulumi.Bool(false),
    	IsSet:          pulumi.Bool(false),
    	ModeRw:         pulumi.Bool(false),
    	ProjectId:      pulumi.String("string"),
    	CraasTokenV2Id: pulumi.String("string"),
    	ExpiresAt:      pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	RegistryIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var craasTokenV2Resource = new CraasTokenV2("craasTokenV2Resource", CraasTokenV2Args.builder()
        .allRegistries(false)
        .isSet(false)
        .modeRw(false)
        .projectId("string")
        .craasTokenV2Id("string")
        .expiresAt("string")
        .name("string")
        .registryIds("string")
        .build());
    
    craas_token_v2_resource = selectel.CraasTokenV2("craasTokenV2Resource",
        all_registries=False,
        is_set=False,
        mode_rw=False,
        project_id="string",
        craas_token_v2_id="string",
        expires_at="string",
        name="string",
        registry_ids=["string"])
    
    const craasTokenV2Resource = new selectel.CraasTokenV2("craasTokenV2Resource", {
        allRegistries: false,
        isSet: false,
        modeRw: false,
        projectId: "string",
        craasTokenV2Id: "string",
        expiresAt: "string",
        name: "string",
        registryIds: ["string"],
    });
    
    type: selectel:CraasTokenV2
    properties:
        allRegistries: false
        craasTokenV2Id: string
        expiresAt: string
        isSet: false
        modeRw: false
        name: string
        projectId: string
        registryIds:
            - string
    

    CraasTokenV2 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 CraasTokenV2 resource accepts the following input properties:

    AllRegistries bool

    Specifies if the token provides access to all registries. Changing this updates the token.

    Boolean flag:

    IsSet bool

    Specifies if the token lifetime is limited. Changing this updates the token.

    Boolean flag:

    ModeRw bool

    Specifies the scope of access to registries. Changing this updates the token.

    Boolean flag:

    ProjectId string
    Unique identifier of the associated project. Changing this creates a new token. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    CraasTokenV2Id string
    ExpiresAt string
    Token lifetime in the RFC3339 timestamp format, for example, 2025-03-09T12:58:49Z. Changing this updates the token. Required when is_set is true.
    Name string
    Token name. Changing this updates the token.
    RegistryIds List<string>
    Unique identifier of the specific registry access to which is granted. Changing this updates the token. Required when all _registries is false. To get the registry ID, in the Control panel, go to ProductsContainer Registry ⟶ copy the ID under the registry name.
    AllRegistries bool

    Specifies if the token provides access to all registries. Changing this updates the token.

    Boolean flag:

    IsSet bool

    Specifies if the token lifetime is limited. Changing this updates the token.

    Boolean flag:

    ModeRw bool

    Specifies the scope of access to registries. Changing this updates the token.

    Boolean flag:

    ProjectId string
    Unique identifier of the associated project. Changing this creates a new token. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    CraasTokenV2Id string
    ExpiresAt string
    Token lifetime in the RFC3339 timestamp format, for example, 2025-03-09T12:58:49Z. Changing this updates the token. Required when is_set is true.
    Name string
    Token name. Changing this updates the token.
    RegistryIds []string
    Unique identifier of the specific registry access to which is granted. Changing this updates the token. Required when all _registries is false. To get the registry ID, in the Control panel, go to ProductsContainer Registry ⟶ copy the ID under the registry name.
    allRegistries Boolean

    Specifies if the token provides access to all registries. Changing this updates the token.

    Boolean flag:

    isSet Boolean

    Specifies if the token lifetime is limited. Changing this updates the token.

    Boolean flag:

    modeRw Boolean

    Specifies the scope of access to registries. Changing this updates the token.

    Boolean flag:

    projectId String
    Unique identifier of the associated project. Changing this creates a new token. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    craasTokenV2Id String
    expiresAt String
    Token lifetime in the RFC3339 timestamp format, for example, 2025-03-09T12:58:49Z. Changing this updates the token. Required when is_set is true.
    name String
    Token name. Changing this updates the token.
    registryIds List<String>
    Unique identifier of the specific registry access to which is granted. Changing this updates the token. Required when all _registries is false. To get the registry ID, in the Control panel, go to ProductsContainer Registry ⟶ copy the ID under the registry name.
    allRegistries boolean

    Specifies if the token provides access to all registries. Changing this updates the token.

    Boolean flag:

    isSet boolean

    Specifies if the token lifetime is limited. Changing this updates the token.

    Boolean flag:

    modeRw boolean

    Specifies the scope of access to registries. Changing this updates the token.

    Boolean flag:

    projectId string
    Unique identifier of the associated project. Changing this creates a new token. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    craasTokenV2Id string
    expiresAt string
    Token lifetime in the RFC3339 timestamp format, for example, 2025-03-09T12:58:49Z. Changing this updates the token. Required when is_set is true.
    name string
    Token name. Changing this updates the token.
    registryIds string[]
    Unique identifier of the specific registry access to which is granted. Changing this updates the token. Required when all _registries is false. To get the registry ID, in the Control panel, go to ProductsContainer Registry ⟶ copy the ID under the registry name.
    all_registries bool

    Specifies if the token provides access to all registries. Changing this updates the token.

    Boolean flag:

    is_set bool

    Specifies if the token lifetime is limited. Changing this updates the token.

    Boolean flag:

    mode_rw bool

    Specifies the scope of access to registries. Changing this updates the token.

    Boolean flag:

    project_id str
    Unique identifier of the associated project. Changing this creates a new token. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    craas_token_v2_id str
    expires_at str
    Token lifetime in the RFC3339 timestamp format, for example, 2025-03-09T12:58:49Z. Changing this updates the token. Required when is_set is true.
    name str
    Token name. Changing this updates the token.
    registry_ids Sequence[str]
    Unique identifier of the specific registry access to which is granted. Changing this updates the token. Required when all _registries is false. To get the registry ID, in the Control panel, go to ProductsContainer Registry ⟶ copy the ID under the registry name.
    allRegistries Boolean

    Specifies if the token provides access to all registries. Changing this updates the token.

    Boolean flag:

    isSet Boolean

    Specifies if the token lifetime is limited. Changing this updates the token.

    Boolean flag:

    modeRw Boolean

    Specifies the scope of access to registries. Changing this updates the token.

    Boolean flag:

    projectId String
    Unique identifier of the associated project. Changing this creates a new token. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    craasTokenV2Id String
    expiresAt String
    Token lifetime in the RFC3339 timestamp format, for example, 2025-03-09T12:58:49Z. Changing this updates the token. Required when is_set is true.
    name String
    Token name. Changing this updates the token.
    registryIds List<String>
    Unique identifier of the specific registry access to which is granted. Changing this updates the token. Required when all _registries is false. To get the registry ID, in the Control panel, go to ProductsContainer Registry ⟶ copy the ID under the registry name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CraasTokenV2 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Token string
    (Sensitive) Token to access Container Registry.
    Username string
    (Sensitive) Username to access Container Registry.
    Id string
    The provider-assigned unique ID for this managed resource.
    Token string
    (Sensitive) Token to access Container Registry.
    Username string
    (Sensitive) Username to access Container Registry.
    id String
    The provider-assigned unique ID for this managed resource.
    token String
    (Sensitive) Token to access Container Registry.
    username String
    (Sensitive) Username to access Container Registry.
    id string
    The provider-assigned unique ID for this managed resource.
    token string
    (Sensitive) Token to access Container Registry.
    username string
    (Sensitive) Username to access Container Registry.
    id str
    The provider-assigned unique ID for this managed resource.
    token str
    (Sensitive) Token to access Container Registry.
    username str
    (Sensitive) Username to access Container Registry.
    id String
    The provider-assigned unique ID for this managed resource.
    token String
    (Sensitive) Token to access Container Registry.
    username String
    (Sensitive) Username to access Container Registry.

    Look up Existing CraasTokenV2 Resource

    Get an existing CraasTokenV2 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?: CraasTokenV2State, opts?: CustomResourceOptions): CraasTokenV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            all_registries: Optional[bool] = None,
            craas_token_v2_id: Optional[str] = None,
            expires_at: Optional[str] = None,
            is_set: Optional[bool] = None,
            mode_rw: Optional[bool] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            registry_ids: Optional[Sequence[str]] = None,
            token: Optional[str] = None,
            username: Optional[str] = None) -> CraasTokenV2
    func GetCraasTokenV2(ctx *Context, name string, id IDInput, state *CraasTokenV2State, opts ...ResourceOption) (*CraasTokenV2, error)
    public static CraasTokenV2 Get(string name, Input<string> id, CraasTokenV2State? state, CustomResourceOptions? opts = null)
    public static CraasTokenV2 get(String name, Output<String> id, CraasTokenV2State state, CustomResourceOptions options)
    resources:  _:    type: selectel:CraasTokenV2    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.
    The following state arguments are supported:
    AllRegistries bool

    Specifies if the token provides access to all registries. Changing this updates the token.

    Boolean flag:

    CraasTokenV2Id string
    ExpiresAt string
    Token lifetime in the RFC3339 timestamp format, for example, 2025-03-09T12:58:49Z. Changing this updates the token. Required when is_set is true.
    IsSet bool

    Specifies if the token lifetime is limited. Changing this updates the token.

    Boolean flag:

    ModeRw bool

    Specifies the scope of access to registries. Changing this updates the token.

    Boolean flag:

    Name string
    Token name. Changing this updates the token.
    ProjectId string
    Unique identifier of the associated project. Changing this creates a new token. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    RegistryIds List<string>
    Unique identifier of the specific registry access to which is granted. Changing this updates the token. Required when all _registries is false. To get the registry ID, in the Control panel, go to ProductsContainer Registry ⟶ copy the ID under the registry name.
    Token string
    (Sensitive) Token to access Container Registry.
    Username string
    (Sensitive) Username to access Container Registry.
    AllRegistries bool

    Specifies if the token provides access to all registries. Changing this updates the token.

    Boolean flag:

    CraasTokenV2Id string
    ExpiresAt string
    Token lifetime in the RFC3339 timestamp format, for example, 2025-03-09T12:58:49Z. Changing this updates the token. Required when is_set is true.
    IsSet bool

    Specifies if the token lifetime is limited. Changing this updates the token.

    Boolean flag:

    ModeRw bool

    Specifies the scope of access to registries. Changing this updates the token.

    Boolean flag:

    Name string
    Token name. Changing this updates the token.
    ProjectId string
    Unique identifier of the associated project. Changing this creates a new token. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    RegistryIds []string
    Unique identifier of the specific registry access to which is granted. Changing this updates the token. Required when all _registries is false. To get the registry ID, in the Control panel, go to ProductsContainer Registry ⟶ copy the ID under the registry name.
    Token string
    (Sensitive) Token to access Container Registry.
    Username string
    (Sensitive) Username to access Container Registry.
    allRegistries Boolean

    Specifies if the token provides access to all registries. Changing this updates the token.

    Boolean flag:

    craasTokenV2Id String
    expiresAt String
    Token lifetime in the RFC3339 timestamp format, for example, 2025-03-09T12:58:49Z. Changing this updates the token. Required when is_set is true.
    isSet Boolean

    Specifies if the token lifetime is limited. Changing this updates the token.

    Boolean flag:

    modeRw Boolean

    Specifies the scope of access to registries. Changing this updates the token.

    Boolean flag:

    name String
    Token name. Changing this updates the token.
    projectId String
    Unique identifier of the associated project. Changing this creates a new token. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    registryIds List<String>
    Unique identifier of the specific registry access to which is granted. Changing this updates the token. Required when all _registries is false. To get the registry ID, in the Control panel, go to ProductsContainer Registry ⟶ copy the ID under the registry name.
    token String
    (Sensitive) Token to access Container Registry.
    username String
    (Sensitive) Username to access Container Registry.
    allRegistries boolean

    Specifies if the token provides access to all registries. Changing this updates the token.

    Boolean flag:

    craasTokenV2Id string
    expiresAt string
    Token lifetime in the RFC3339 timestamp format, for example, 2025-03-09T12:58:49Z. Changing this updates the token. Required when is_set is true.
    isSet boolean

    Specifies if the token lifetime is limited. Changing this updates the token.

    Boolean flag:

    modeRw boolean

    Specifies the scope of access to registries. Changing this updates the token.

    Boolean flag:

    name string
    Token name. Changing this updates the token.
    projectId string
    Unique identifier of the associated project. Changing this creates a new token. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    registryIds string[]
    Unique identifier of the specific registry access to which is granted. Changing this updates the token. Required when all _registries is false. To get the registry ID, in the Control panel, go to ProductsContainer Registry ⟶ copy the ID under the registry name.
    token string
    (Sensitive) Token to access Container Registry.
    username string
    (Sensitive) Username to access Container Registry.
    all_registries bool

    Specifies if the token provides access to all registries. Changing this updates the token.

    Boolean flag:

    craas_token_v2_id str
    expires_at str
    Token lifetime in the RFC3339 timestamp format, for example, 2025-03-09T12:58:49Z. Changing this updates the token. Required when is_set is true.
    is_set bool

    Specifies if the token lifetime is limited. Changing this updates the token.

    Boolean flag:

    mode_rw bool

    Specifies the scope of access to registries. Changing this updates the token.

    Boolean flag:

    name str
    Token name. Changing this updates the token.
    project_id str
    Unique identifier of the associated project. Changing this creates a new token. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    registry_ids Sequence[str]
    Unique identifier of the specific registry access to which is granted. Changing this updates the token. Required when all _registries is false. To get the registry ID, in the Control panel, go to ProductsContainer Registry ⟶ copy the ID under the registry name.
    token str
    (Sensitive) Token to access Container Registry.
    username str
    (Sensitive) Username to access Container Registry.
    allRegistries Boolean

    Specifies if the token provides access to all registries. Changing this updates the token.

    Boolean flag:

    craasTokenV2Id String
    expiresAt String
    Token lifetime in the RFC3339 timestamp format, for example, 2025-03-09T12:58:49Z. Changing this updates the token. Required when is_set is true.
    isSet Boolean

    Specifies if the token lifetime is limited. Changing this updates the token.

    Boolean flag:

    modeRw Boolean

    Specifies the scope of access to registries. Changing this updates the token.

    Boolean flag:

    name String
    Token name. Changing this updates the token.
    projectId String
    Unique identifier of the associated project. Changing this creates a new token. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    registryIds List<String>
    Unique identifier of the specific registry access to which is granted. Changing this updates the token. Required when all _registries is false. To get the registry ID, in the Control panel, go to ProductsContainer Registry ⟶ copy the ID under the registry name.
    token String
    (Sensitive) Token to access Container Registry.
    username String
    (Sensitive) Username to access Container Registry.

    Package Details

    Repository
    selectel selectel/terraform-provider-selectel
    License
    Notes
    This Pulumi package is based on the selectel Terraform Provider.
    selectel logo
    selectel 7.1.0 published on Thursday, Oct 30, 2025 by selectel
      Meet Neo: Your AI Platform Teammate