PHP Class StackFormation\Profile\YamlCredentialProvider

ファイルを表示 Open project: aoepeople/stackformation

Protected Properties

Property Type Description
$config

Public Methods

Method Description
getCredentialsForProfile ( $profile ) : Aws\Credentials\Credentials
getEnvVarsForProfile ( $profile ) : Aws\Credentials\Credentials
isValidProfile ( $profile )
listAllProfiles ( )

Protected Methods

Method Description
findAllProfileFiles ( )
getConfig ( )
getDecryptedFilecontent ( $encryptedFilename )
getEncryptedFileName ( $filename )
getFileContent ( $filename )
isEncryptedFile ( $filename )
loadFile ( $filename )

Method Details

findAllProfileFiles() protected method

protected findAllProfileFiles ( )

getConfig() protected method

protected getConfig ( )

getCredentialsForProfile() public method

public getCredentialsForProfile ( $profile ) : Aws\Credentials\Credentials
$profile string
return Aws\Credentials\Credentials

getDecryptedFilecontent() protected method

protected getDecryptedFilecontent ( $encryptedFilename )

getEncryptedFileName() protected method

protected getEncryptedFileName ( $filename )

getEnvVarsForProfile() public method

public getEnvVarsForProfile ( $profile ) : Aws\Credentials\Credentials
$profile string
return Aws\Credentials\Credentials

getFileContent() protected method

protected getFileContent ( $filename )

isEncryptedFile() protected method

protected isEncryptedFile ( $filename )

isValidProfile() public method

public isValidProfile ( $profile )

listAllProfiles() public method

public listAllProfiles ( )

loadFile() protected method

protected loadFile ( $filename )

Property Details

$config protected_oe property

protected $config