ionoscloud_object_storage_accesskey
Creates and manages IONOS CLOUD Object Storage Accesskeys.
Manages an Object Storage Accesskey on IONOS CLOUD.
Example Usage
resource "ionoscloud_object_storage_accesskey" "example" {
description = "my description"
}Argument Reference
The following arguments are supported:
description- (Optional)[string] Description of the Access key.id- (Computed) The ID (UUID) of the AccessKey.accesskey- (Computed) Access key metadata is a string of 92 characters.secretkey- (Computed) The secret key of the Access key.canonical_user_id- (Computed) The canonical user ID which is valid for user-owned buckets.contract_user_id- (Computed) The contract user ID which is valid for contract-owned bucketstimeouts- (Optional) Timeouts for this resource.create- (Optional)[string] Time to wait for the bucket to be created. Default is10m.delete- (Optional)[string] Time to wait for the bucket to be deleted. Default is10m.
⚠ WARNING:
IONOS_API_URL_OBJECT_STORAGE_MANAGEMENTcan be used to set a custom API URL for the Object Storage Management SDK. SettingendpointorIONOS_API_URLdoes not have any effect.
Import
In Terraform v1.12.0 and later, the import block can be used with the identity attribute. For example:
Identity Schema
Required
id(String) The ID (UUID) of the AccessKey.
An object storage accesskey resource can be imported using its resource id, e.g.
This can be helpful when you want to import Object Storage Accesskeys which you have already created manually or using other means, outside of terraform.
Query (List Resource)
Object Storage Access Keys can be listed using terraform query (requires Terraform 1.14+). List blocks must be placed in a dedicated tfquery.hcl file.
Filter by description:
See the ionoscloud_object_storage_accesskey list resource documentation for the full filter reference.
Last updated
