AccessKey

class AccessKey

Describes an access key for an Amazon Lightsail bucket.

Access keys grant full programmatic access to the specified bucket and its objects. You can have a maximum of two access keys per bucket. Use the CreateBucketAccessKey action to create an access key for a specific bucket. For more information about access keys, see Creating access keys for a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide.

The secretAccessKey value is returned only in response to the CreateBucketAccessKey action. You can get a secret access key only when you first create an access key; you cannot get the secret access key later. If you lose the secret access key, you must create a new access key.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The ID of the access key.

Link copied to clipboard

The timestamp when the access key was created.

Link copied to clipboard

An object that describes the last time the access key was used.

Link copied to clipboard

The secret access key used to sign requests.

Link copied to clipboard

The status of the access key.

Functions

Link copied to clipboard
inline fun copy(block: AccessKey.Builder.() -> Unit = {}): AccessKey
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String