SDK for PHP 3.x

AssumeRoleCredentialProvider
in package

Credential provider that provides credentials via assuming a role More Information, see: http://docs.aws.amazon.com/aws-sdk-php/v3/api/api-sts-2011-06-15.html#assumerole

Table of Contents

Constants

ERROR_MSG  = "Missing required 'AssumeRoleCredentialProvider' configuration option: "

Methods

__construct()  : mixed
The constructor requires following configure parameters: - client: a StsClient - assume_role_params: Parameters used to make assumeRole call
__invoke()  : PromiseInterface
Loads assume role credentials.

Constants

ERROR_MSG

public mixed ERROR_MSG = "Missing required 'AssumeRoleCredentialProvider' configuration option: "

Methods

__construct()

The constructor requires following configure parameters: - client: a StsClient - assume_role_params: Parameters used to make assumeRole call

public __construct([array<string|int, mixed> $config = [] ]) : mixed
Parameters
$config : array<string|int, mixed> = []

Configuration options

Tags
throws
InvalidArgumentException
On this page