S3 Key

Get Information on a IonosCloud s3 key

The S3 key data source can be used to search for and return an existing s3 key. You can provide a string id which will be compared with provisioned s3 keys. If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned. When this happens, please refine your search string so that it is specific enough to return only one result.

Example Usage

data "ionoscloud_s3_key" "example" {
  id         = <s3_key_id>
  user_id    = <user-uuid>
}

Argument Reference

The following arguments are supported:

  • user_id - (Required)[string] The UUID of the user owning the S3 Key.

  • id - (Required) ID of the s3 key you want to search for.

Attributes Reference

The following attributes are returned by the datasource:

  • id - The id of the s3 key

  • active - The state of the s3 key

  • user_id - The ID of the user that owns the key

  • secret_key - (Computed)The S3 Secret key.

Last updated