title | linkTitle | page_title | subcategory | description |
---|---|---|---|---|
powerscale_s3_key resource |
powerscale_s3_key |
powerscale_s3_key Resource - terraform-provider-powerscale |
This resource is used to manage the S3 Key Entity of PowerScale Array. PowerScale S3 keys are used to sign the requests you send to the S3 protocol. We can Create, Update and Delete the S3 Key using this resource. |
This resource is used to manage the S3 Key Entity of PowerScale Array. PowerScale S3 keys are used to sign the requests you send to the S3 protocol. We can Create, Update and Delete the S3 Key using this resource.
/*
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
# Available actions: Create, Update and Delete
# After `terraform apply` of this example file it will generate the s3 key for the user.
# For more information, Please check the terraform state file.
# PowerScale S3 key to generate the keys for users to sign the requests you send to the S3 protocol.
resource "powerscale_s3_key" "skm" {
user = "tf_user"
zone = "System"
existing_key_expiry_time = 10
}
output "key" {
value = powerscale_s3_key.skm
}
user
(String) The username to create the S3 key. This resource will be recreated if the value of this field is changed.zone
(String) The zone of the user. This resource will be recreated if the value of this field is changed.
existing_key_expiry_time
(Number) The expiry of the old secret key in minutes. Optional. It will be applicable only if old_secret_key is exist.
access_id
(String) Unique identifier of the S3 key.old_key_expiry
(Number) The expiry of the old key. Computed.old_key_timestamp
(Number) The timestamp of the old key. Computed.old_secret_key
(String) The secret key of the old key. Computed.secret_key
(String) The secret key of the key. Computed.secret_key_timestamp
(Number) The timestamp of the secret key. Computed.
Unless specified otherwise, all fields of this resource can be updated.