1. Packages
  2. stackit
  3. API Docs
  4. ObjectstorageCredentialsGroup
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud

    ObjectStorage credentials group resource schema. Must have a region specified in the provider configuration. If you are creating credentialsgroup and bucket resources simultaneously, please include the depends_on field so that they are created sequentially. This prevents errors from concurrent calls to the service enablement that is done in the background.

    Example Usage

    resource "stackit_objectstorage_credentials_group" "example" {
      project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      name       = "example-credentials-group"
    }
    
    # Only use the import statement, if you want to import an existing objectstorage credential group
    import {
      to = stackit_objectstorage_credentials_group.import-example
      id = "${var.project_id},${var.region},${var.bucket_credentials_group_id}"
    }
    

    Create ObjectstorageCredentialsGroup Resource

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

    Constructor syntax

    new ObjectstorageCredentialsGroup(name: string, args: ObjectstorageCredentialsGroupArgs, opts?: CustomResourceOptions);
    @overload
    def ObjectstorageCredentialsGroup(resource_name: str,
                                      args: ObjectstorageCredentialsGroupArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ObjectstorageCredentialsGroup(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      project_id: Optional[str] = None,
                                      name: Optional[str] = None,
                                      region: Optional[str] = None)
    func NewObjectstorageCredentialsGroup(ctx *Context, name string, args ObjectstorageCredentialsGroupArgs, opts ...ResourceOption) (*ObjectstorageCredentialsGroup, error)
    public ObjectstorageCredentialsGroup(string name, ObjectstorageCredentialsGroupArgs args, CustomResourceOptions? opts = null)
    public ObjectstorageCredentialsGroup(String name, ObjectstorageCredentialsGroupArgs args)
    public ObjectstorageCredentialsGroup(String name, ObjectstorageCredentialsGroupArgs args, CustomResourceOptions options)
    
    type: stackit:ObjectstorageCredentialsGroup
    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 ObjectstorageCredentialsGroupArgs
    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 ObjectstorageCredentialsGroupArgs
    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 ObjectstorageCredentialsGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ObjectstorageCredentialsGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ObjectstorageCredentialsGroupArgs
    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 objectstorageCredentialsGroupResource = new Stackit.ObjectstorageCredentialsGroup("objectstorageCredentialsGroupResource", new()
    {
        ProjectId = "string",
        Name = "string",
        Region = "string",
    });
    
    example, err := stackit.NewObjectstorageCredentialsGroup(ctx, "objectstorageCredentialsGroupResource", &stackit.ObjectstorageCredentialsGroupArgs{
    	ProjectId: pulumi.String("string"),
    	Name:      pulumi.String("string"),
    	Region:    pulumi.String("string"),
    })
    
    var objectstorageCredentialsGroupResource = new ObjectstorageCredentialsGroup("objectstorageCredentialsGroupResource", ObjectstorageCredentialsGroupArgs.builder()
        .projectId("string")
        .name("string")
        .region("string")
        .build());
    
    objectstorage_credentials_group_resource = stackit.ObjectstorageCredentialsGroup("objectstorageCredentialsGroupResource",
        project_id="string",
        name="string",
        region="string")
    
    const objectstorageCredentialsGroupResource = new stackit.ObjectstorageCredentialsGroup("objectstorageCredentialsGroupResource", {
        projectId: "string",
        name: "string",
        region: "string",
    });
    
    type: stackit:ObjectstorageCredentialsGroup
    properties:
        name: string
        projectId: string
        region: string
    

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

    ProjectId string
    Project ID to which the credentials group is associated.
    Name string
    The credentials group's display name.
    Region string
    The resource region. If not defined, the provider region is used.
    ProjectId string
    Project ID to which the credentials group is associated.
    Name string
    The credentials group's display name.
    Region string
    The resource region. If not defined, the provider region is used.
    projectId String
    Project ID to which the credentials group is associated.
    name String
    The credentials group's display name.
    region String
    The resource region. If not defined, the provider region is used.
    projectId string
    Project ID to which the credentials group is associated.
    name string
    The credentials group's display name.
    region string
    The resource region. If not defined, the provider region is used.
    project_id str
    Project ID to which the credentials group is associated.
    name str
    The credentials group's display name.
    region str
    The resource region. If not defined, the provider region is used.
    projectId String
    Project ID to which the credentials group is associated.
    name String
    The credentials group's display name.
    region String
    The resource region. If not defined, the provider region is used.

    Outputs

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

    CredentialsGroupId string
    The credentials group ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Urn string
    Credentials group uniform resource name (URN)
    CredentialsGroupId string
    The credentials group ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Urn string
    Credentials group uniform resource name (URN)
    credentialsGroupId String
    The credentials group ID
    id String
    The provider-assigned unique ID for this managed resource.
    urn String
    Credentials group uniform resource name (URN)
    credentialsGroupId string
    The credentials group ID
    id string
    The provider-assigned unique ID for this managed resource.
    urn string
    Credentials group uniform resource name (URN)
    credentials_group_id str
    The credentials group ID
    id str
    The provider-assigned unique ID for this managed resource.
    urn str
    Credentials group uniform resource name (URN)
    credentialsGroupId String
    The credentials group ID
    id String
    The provider-assigned unique ID for this managed resource.
    urn String
    Credentials group uniform resource name (URN)

    Look up Existing ObjectstorageCredentialsGroup Resource

    Get an existing ObjectstorageCredentialsGroup 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?: ObjectstorageCredentialsGroupState, opts?: CustomResourceOptions): ObjectstorageCredentialsGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            credentials_group_id: Optional[str] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            urn: Optional[str] = None) -> ObjectstorageCredentialsGroup
    func GetObjectstorageCredentialsGroup(ctx *Context, name string, id IDInput, state *ObjectstorageCredentialsGroupState, opts ...ResourceOption) (*ObjectstorageCredentialsGroup, error)
    public static ObjectstorageCredentialsGroup Get(string name, Input<string> id, ObjectstorageCredentialsGroupState? state, CustomResourceOptions? opts = null)
    public static ObjectstorageCredentialsGroup get(String name, Output<String> id, ObjectstorageCredentialsGroupState state, CustomResourceOptions options)
    resources:  _:    type: stackit:ObjectstorageCredentialsGroup    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:
    CredentialsGroupId string
    The credentials group ID
    Name string
    The credentials group's display name.
    ProjectId string
    Project ID to which the credentials group is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    Urn string
    Credentials group uniform resource name (URN)
    CredentialsGroupId string
    The credentials group ID
    Name string
    The credentials group's display name.
    ProjectId string
    Project ID to which the credentials group is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    Urn string
    Credentials group uniform resource name (URN)
    credentialsGroupId String
    The credentials group ID
    name String
    The credentials group's display name.
    projectId String
    Project ID to which the credentials group is associated.
    region String
    The resource region. If not defined, the provider region is used.
    urn String
    Credentials group uniform resource name (URN)
    credentialsGroupId string
    The credentials group ID
    name string
    The credentials group's display name.
    projectId string
    Project ID to which the credentials group is associated.
    region string
    The resource region. If not defined, the provider region is used.
    urn string
    Credentials group uniform resource name (URN)
    credentials_group_id str
    The credentials group ID
    name str
    The credentials group's display name.
    project_id str
    Project ID to which the credentials group is associated.
    region str
    The resource region. If not defined, the provider region is used.
    urn str
    Credentials group uniform resource name (URN)
    credentialsGroupId String
    The credentials group ID
    name String
    The credentials group's display name.
    projectId String
    Project ID to which the credentials group is associated.
    region String
    The resource region. If not defined, the provider region is used.
    urn String
    Credentials group uniform resource name (URN)

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.4
    published on Friday, Feb 20, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.