ServiceResource / Sub-Resource / AccessKeyPair

AccessKeyPair#

IAM.ServiceResource.AccessKeyPair(user_name, id, secret)#

Creates a AccessKeyPair resource.:

access_key_pair = iam.AccessKeyPair('user_name','id','secret')
Parameters:
  • user_name (string) – The AccessKeyPair’s user_name identifier. This must be set.

  • id (string) – The AccessKeyPair’s id identifier. This must be set.

  • secret (string) – The AccessKeyPair’s secret identifier. This must be set.

Return type:

IAM.AccessKeyPair

Returns:

A AccessKeyPair resource