mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
first commit
This commit is contained in:
parent
4df121dd11
commit
472481adf9
2261 changed files with 100201 additions and 5891 deletions
|
@ -52,7 +52,10 @@ class AssumeRoleCredentialProvider
|
|||
$client = $this->client;
|
||||
return $client->assumeRoleAsync($this->assumeRoleParams)
|
||||
->then(function (Result $result) {
|
||||
return $this->client->createCredentials($result);
|
||||
return $this->client->createCredentials(
|
||||
$result,
|
||||
CredentialSources::STS_ASSUME_ROLE
|
||||
);
|
||||
})->otherwise(function (\RuntimeException $exception) {
|
||||
throw new CredentialsException(
|
||||
"Error in retrieving assume role credentials.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue