The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::IAM::AccessKey

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::IAM::AccessKey object:

  $service_obj->Method(Att1 => { AccessKeyId => $value, ..., UserName => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::AccessKey object:

  $result = $service_obj->Method(...);
  $result->Att1->AccessKeyId

DESCRIPTION

Contains information about an AWS access key.

This data type is used as a response element in the CreateAccessKey and ListAccessKeys operations.

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

ATTRIBUTES

REQUIRED AccessKeyId => Str

The ID for this access key.

CreateDate => Str

The date when the access key was created.

REQUIRED SecretAccessKey => Str

The secret key used to sign requests.

REQUIRED Status => Str

The status of the access key. Active means that the key is valid for API calls, while Inactive means it is not.

REQUIRED UserName => Str

The name of the IAM user that the access key is associated with.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::IAM

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues