terraform-provider-stackitp.../docs/data-sources/objectstorage_credential.md
Alexander Dahmen f5f99d1709
fix(objectstorage): Removed unused attributes from datasource (#744)
Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2025-03-28 09:46:20 +01:00

1.3 KiB

page_title subcategory description
stackit_objectstorage_credential Data Source - stackit ObjectStorage credential data source schema. Must have a region specified in the provider configuration.

stackit_objectstorage_credential (Data Source)

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"
}

Schema

Required

  • credential_id (String) The credential ID.
  • credentials_group_id (String) The credential group ID.
  • project_id (String) STACKIT Project ID to which the credential group is associated.

Optional

  • region (String) The resource region. If not defined, the provider region is used.

Read-Only

  • expiration_timestamp (String)
  • id (String) Terraform's internal resource identifier. It is structured as "project_id,credentials_group_id,credential_id".
  • name (String)