Iam
extends Aws
in package
A simple wrapper for loading Iam ready for use with the AWS SDK
Table of Contents
Methods
- getClient() : IamClient
- Get an S3Client instance with local configuration
- getProdCredential() : InstanceProfileProvider
- Get production credentials from an instanceProfile
- getSdk() : Sdk
Methods
getClient()
Get an S3Client instance with local configuration
public
static getClient([array<string|int, mixed> $config = [] ]) : IamClient
Parameters
- $config : array<string|int, mixed> = []
Return values
IamClientgetProdCredential()
Get production credentials from an instanceProfile
public
static getProdCredential() : InstanceProfileProvider
This uses instance profile credentials so needs to be configured properly on AWS
Return values
InstanceProfileProvidergetSdk()
public
static getSdk() : Sdk