Méthode | Description | |
---|---|---|
__construct ( array $config = [] ) | * The constructor accepts following options: - timeout: (optional) Connection timeout, in seconds, default 1.0 - client: An EcsClient to make request from | |
__invoke ( ) : GuzzleHttp\Promise\PromiseInterface | Load ECS credentials |
Méthode | Description | |
---|---|---|
decodeResult ( $response ) | ||
getEcsUri ( ) : string | Fetch credential URI from ECS environment variable |
public __construct ( array $config = [] ) | ||
$config | array | Configuration options |
public __invoke ( ) : GuzzleHttp\Promise\PromiseInterface | ||
Résultat | GuzzleHttp\Promise\PromiseInterface |