Viewing docs for stackit v0.0.5
published on Tuesday, Mar 31, 2026 by stackitcloud
published on Tuesday, Mar 31, 2026 by stackitcloud
Viewing docs for stackit v0.0.5
published on Tuesday, Mar 31, 2026 by stackitcloud
published on Tuesday, Mar 31, 2026 by stackitcloud
ObjectStorage credential data source schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_objectstorage_credential" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
credentials_group_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
credential_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getObjectstorageCredential
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getObjectstorageCredential(args: GetObjectstorageCredentialArgs, opts?: InvokeOptions): Promise<GetObjectstorageCredentialResult>
function getObjectstorageCredentialOutput(args: GetObjectstorageCredentialOutputArgs, opts?: InvokeOptions): Output<GetObjectstorageCredentialResult>def get_objectstorage_credential(credential_id: Optional[str] = None,
credentials_group_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetObjectstorageCredentialResult
def get_objectstorage_credential_output(credential_id: pulumi.Input[Optional[str]] = None,
credentials_group_id: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetObjectstorageCredentialResult]func LookupObjectstorageCredential(ctx *Context, args *LookupObjectstorageCredentialArgs, opts ...InvokeOption) (*LookupObjectstorageCredentialResult, error)
func LookupObjectstorageCredentialOutput(ctx *Context, args *LookupObjectstorageCredentialOutputArgs, opts ...InvokeOption) LookupObjectstorageCredentialResultOutput> Note: This function is named LookupObjectstorageCredential in the Go SDK.
public static class GetObjectstorageCredential
{
public static Task<GetObjectstorageCredentialResult> InvokeAsync(GetObjectstorageCredentialArgs args, InvokeOptions? opts = null)
public static Output<GetObjectstorageCredentialResult> Invoke(GetObjectstorageCredentialInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetObjectstorageCredentialResult> getObjectstorageCredential(GetObjectstorageCredentialArgs args, InvokeOptions options)
public static Output<GetObjectstorageCredentialResult> getObjectstorageCredential(GetObjectstorageCredentialArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getObjectstorageCredential:getObjectstorageCredential
arguments:
# arguments dictionaryThe following arguments are supported:
- Credential
Id string - The credential ID.
- Credentials
Group stringId - The credential group ID.
- Project
Id string - STACKIT Project ID to which the credential group is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Credential
Id string - The credential ID.
- Credentials
Group stringId - The credential group ID.
- Project
Id string - STACKIT Project ID to which the credential group is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- credential
Id String - The credential ID.
- credentials
Group StringId - The credential group ID.
- project
Id String - STACKIT Project ID to which the credential group is associated.
- region String
- The resource region. If not defined, the provider region is used.
- credential
Id string - The credential ID.
- credentials
Group stringId - The credential group ID.
- project
Id string - STACKIT Project ID to which the credential group is associated.
- region string
- The resource region. If not defined, the provider region is used.
- credential_
id str - The credential ID.
- credentials_
group_ strid - The credential group ID.
- project_
id str - STACKIT Project ID to which the credential group is associated.
- region str
- The resource region. If not defined, the provider region is used.
- credential
Id String - The credential ID.
- credentials
Group StringId - The credential group ID.
- project
Id String - STACKIT Project ID to which the credential group is associated.
- region String
- The resource region. If not defined, the provider region is used.
getObjectstorageCredential Result
The following output properties are available:
- Credential
Id string - The credential ID.
- Credentials
Group stringId - The credential group ID.
- Expiration
Timestamp string - Id string
- Terraform's internal resource identifier. It is structured as "
projectId,region,credentialsGroupId,credentialId". - Name string
- Project
Id string - STACKIT Project ID to which the credential group is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Credential
Id string - The credential ID.
- Credentials
Group stringId - The credential group ID.
- Expiration
Timestamp string - Id string
- Terraform's internal resource identifier. It is structured as "
projectId,region,credentialsGroupId,credentialId". - Name string
- Project
Id string - STACKIT Project ID to which the credential group is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- credential
Id String - The credential ID.
- credentials
Group StringId - The credential group ID.
- expiration
Timestamp String - id String
- Terraform's internal resource identifier. It is structured as "
projectId,region,credentialsGroupId,credentialId". - name String
- project
Id String - STACKIT Project ID to which the credential group is associated.
- region String
- The resource region. If not defined, the provider region is used.
- credential
Id string - The credential ID.
- credentials
Group stringId - The credential group ID.
- expiration
Timestamp string - id string
- Terraform's internal resource identifier. It is structured as "
projectId,region,credentialsGroupId,credentialId". - name string
- project
Id string - STACKIT Project ID to which the credential group is associated.
- region string
- The resource region. If not defined, the provider region is used.
- credential_
id str - The credential ID.
- credentials_
group_ strid - The credential group ID.
- expiration_
timestamp str - id str
- Terraform's internal resource identifier. It is structured as "
projectId,region,credentialsGroupId,credentialId". - name str
- project_
id str - STACKIT Project ID to which the credential group is associated.
- region str
- The resource region. If not defined, the provider region is used.
- credential
Id String - The credential ID.
- credentials
Group StringId - The credential group ID.
- expiration
Timestamp String - id String
- Terraform's internal resource identifier. It is structured as "
projectId,region,credentialsGroupId,credentialId". - name String
- project
Id String - STACKIT Project ID to which the credential group is associated.
- region String
- The resource region. If not defined, the provider region is used.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
Viewing docs for stackit v0.0.5
published on Tuesday, Mar 31, 2026 by stackitcloud
published on Tuesday, Mar 31, 2026 by stackitcloud
