HumHub Documentation (unofficial)

IniFileProvider
in package
implements CredentialProvider uses DateFromResult

FinalYes

Provides Credentials from standard AWS ini file.

Tags
see
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html
author

Jérémy Derussé jeremy@derusse.com

Table of Contents

Interfaces

CredentialProvider
Interface for providing Credential.

Properties

$httpClient  : HttpClientInterface|null
$iniFileLoader  : IniFileLoader
$logger  : LoggerInterface

Methods

__construct()  : mixed
getCredentials()  : Credentials|null
Return a Credential when possible. Return null otherwise.
getCredentialsFromLegacySso()  : Credentials|null
getCredentialsFromProfile()  : Credentials|null
getCredentialsFromRole()  : Credentials|null

Properties

Methods

getCredentialsFromLegacySso()

private getCredentialsFromLegacySso(array<string, string> $profileData, string $profile) : Credentials|null
Parameters
$profileData : array<string, string>
$profile : string
Return values
Credentials|null

getCredentialsFromProfile()

private getCredentialsFromProfile(array<string, array<string, string>> $profilesData, string $profile[, array<string, bool> $circularCollector = [] ]) : Credentials|null
Parameters
$profilesData : array<string, array<string, string>>
$profile : string
$circularCollector : array<string, bool> = []
Return values
Credentials|null

getCredentialsFromRole()

private getCredentialsFromRole(array<string, array<string, string>> $profilesData, array<string, string> $profileData, string $profile[, array<string, bool> $circularCollector = [] ]) : Credentials|null
Parameters
$profilesData : array<string, array<string, string>>
$profileData : array<string, string>
$profile : string
$circularCollector : array<string, bool> = []
Return values
Credentials|null

        
On this page

Search results