Returns the existing access key IDs for the specified Amazon Lightsail bucket¶
Description¶
Returns the existing access key IDs for the specified Amazon Lightsail bucket.
This action does not return the secret access key value of an access key. You can get a secret access key only when you create it from the response of the create_bucket_access_key action. If you lose the secret access key, you must create a new access key.
Usage¶
Arguments¶
-
bucketName[required] The name of the bucket for which to return access keys.
Value¶
A list with the following syntax:
list(
accessKeys = list(
list(
accessKeyId = "string",
secretAccessKey = "string",
status = "Active"|"Inactive",
createdAt = as.POSIXct(
"2015-01-01"
),
lastUsed = list(
lastUsedDate = as.POSIXct(
"2015-01-01"
),
region = "string",
serviceName = "string"
)
)
)
)