Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorAWSConfigOptions.php
Show All 15 Lines | final class PhabricatorAWSConfigOptions | ||||
} | } | ||||
public function getGroup() { | public function getGroup() { | ||||
return 'core'; | return 'core'; | ||||
} | } | ||||
public function getOptions() { | public function getOptions() { | ||||
return array( | return array( | ||||
$this->newOption('amazon-ses.access-key', 'string', null) | |||||
->setLocked(true) | |||||
->setDescription(pht('Access key for Amazon SES.')), | |||||
$this->newOption('amazon-ses.secret-key', 'string', null) | |||||
->setHidden(true) | |||||
->setDescription(pht('Secret key for Amazon SES.')), | |||||
$this->newOption('amazon-ses.endpoint', 'string', null) | |||||
->setLocked(true) | |||||
->setDescription( | |||||
pht( | |||||
'SES endpoint domain name. You can find a list of available '. | |||||
'regions and endpoints in the AWS documentation.')) | |||||
->addExample( | |||||
'email.us-east-1.amazonaws.com', | |||||
pht('US East (N. Virginia, Older default endpoint)')) | |||||
->addExample( | |||||
'email.us-west-2.amazonaws.com', | |||||
pht('US West (Oregon)')), | |||||
$this->newOption('amazon-s3.access-key', 'string', null) | $this->newOption('amazon-s3.access-key', 'string', null) | ||||
->setLocked(true) | ->setLocked(true) | ||||
->setDescription(pht('Access key for Amazon S3.')), | ->setDescription(pht('Access key for Amazon S3.')), | ||||
$this->newOption('amazon-s3.secret-key', 'string', null) | $this->newOption('amazon-s3.secret-key', 'string', null) | ||||
->setHidden(true) | ->setHidden(true) | ||||
->setDescription(pht('Secret key for Amazon S3.')), | ->setDescription(pht('Secret key for Amazon S3.')), | ||||
$this->newOption('amazon-s3.region', 'string', null) | $this->newOption('amazon-s3.region', 'string', null) | ||||
->setLocked(true) | ->setLocked(true) | ||||
Show All 29 Lines |