Path: blob/master/src/applications/config/option/PhabricatorAWSConfigOptions.php
12256 views
<?php12final class PhabricatorAWSConfigOptions3extends PhabricatorApplicationConfigOptions {45public function getName() {6return pht('Amazon Web Services');7}89public function getDescription() {10return pht('Configure integration with AWS (EC2, SES, S3, etc).');11}1213public function getIcon() {14return 'fa-server';15}1617public function getGroup() {18return 'core';19}2021public function getOptions() {22return array(23$this->newOption('amazon-s3.access-key', 'string', null)24->setLocked(true)25->setDescription(pht('Access key for Amazon S3.')),26$this->newOption('amazon-s3.secret-key', 'string', null)27->setHidden(true)28->setDescription(pht('Secret key for Amazon S3.')),29$this->newOption('amazon-s3.region', 'string', null)30->setLocked(true)31->setDescription(32pht(33'Amazon S3 region where your S3 bucket is located. When you '.34'specify a region, you should also specify a corresponding '.35'endpoint with `amazon-s3.endpoint`. You can find a list of '.36'available regions and endpoints in the AWS documentation.'))37->addExample('us-west-1', pht('USWest Region')),38$this->newOption('amazon-s3.endpoint', 'string', null)39->setLocked(true)40->setDescription(41pht(42'Explicit S3 endpoint to use. This should be the endpoint '.43'which corresponds to the region you have selected in '.44'`amazon-s3.region`. This software can not determine the correct '.45'endpoint automatically because some endpoint locations are '.46'irregular.'))47->addExample(48's3-us-west-1.amazonaws.com',49pht('Use specific endpoint')),50$this->newOption('amazon-ec2.access-key', 'string', null)51->setLocked(true)52->setDescription(pht('Access key for Amazon EC2.')),53$this->newOption('amazon-ec2.secret-key', 'string', null)54->setHidden(true)55->setDescription(pht('Secret key for Amazon EC2.')),56);57}5859}606162