published on Friday, Feb 20, 2026 by stackitcloud
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:
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectstorageCredentialsGroup resource produces the following output properties:
- Credentials
Group stringId - 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 stringId - 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 StringId - 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 stringId - 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_ strid - The credentials group ID
- id str
- The provider-assigned unique ID for this managed resource.
- urn str
- Credentials group uniform resource name (URN)
- credentials
Group StringId - 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) -> ObjectstorageCredentialsGroupfunc 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.
- Credentials
Group stringId - The credentials group ID
- Name string
- The credentials group's display name.
- Project
Id 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 stringId - The credentials group ID
- Name string
- The credentials group's display name.
- Project
Id 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 StringId - The credentials group ID
- name String
- The credentials group's display name.
- project
Id 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 stringId - The credentials group ID
- name string
- The credentials group's display name.
- project
Id 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_ strid - 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)
- credentials
Group StringId - The credentials group ID
- name String
- The credentials group's display name.
- project
Id 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
stackitTerraform Provider.
published on Friday, Feb 20, 2026 by stackitcloud
