You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 'endpoint' => null (string, default=null) The full URI of the webservice. This is only required when connecting to a custom endpoint e.g. localstack
34
+
* 'endpoint' => null, (string, default=null) The full URI of the webservice. This is only required when connecting to a custom endpoint e.g. localstack
35
+
* 'profile' => null, (string, default=null) The name of an AWS profile to used, if provided the SDK will attempt to read associated credentials from the ~/.aws/credentials file.
35
36
* 'queue_owner_aws_account_id' The AWS account ID of the account that created the queue.
36
37
* ].
37
38
*
@@ -92,6 +93,10 @@ private function establishConnection(): SqsClient
92
93
$config['endpoint'] = $this->config['endpoint'];
93
94
}
94
95
96
+
if (isset($this->config['profile'])) {
97
+
$config['profile'] = $this->config['profile'];
98
+
}
99
+
95
100
if ($this->config['key'] && $this->config['secret']) {
96
101
$config['credentials'] = [
97
102
'key' => $this->config['key'],
@@ -135,6 +140,7 @@ private function parseDsn(string $dsn): array
0 commit comments