[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/config/option/ -> PhabricatorAWSConfigOptions.php (source)

   1  <?php
   2  
   3  final class PhabricatorAWSConfigOptions
   4    extends PhabricatorApplicationConfigOptions {
   5  
   6    public function getName() {
   7      return pht('Amazon Web Services');
   8    }
   9  
  10    public function getDescription() {
  11      return pht('Configure integration with AWS (EC2, SES, S3, etc).');
  12    }
  13  
  14    public function getOptions() {
  15      return array(
  16        $this->newOption('amazon-ses.access-key', 'string', null)
  17          ->setLocked(true)
  18          ->setDescription(pht('Access key for Amazon SES.')),
  19        $this->newOption('amazon-ses.secret-key', 'string', null)
  20          ->setMasked(true)
  21          ->setDescription(pht('Secret key for Amazon SES.')),
  22        $this->newOption('amazon-s3.access-key', 'string', null)
  23          ->setLocked(true)
  24          ->setDescription(pht('Access key for Amazon S3.')),
  25        $this->newOption('amazon-s3.secret-key', 'string', null)
  26          ->setMasked(true)
  27          ->setDescription(pht('Secret key for Amazon S3.')),
  28        $this->newOption('amazon-s3.endpoint', 'string', null)
  29          ->setLocked(true)
  30          ->setDescription(
  31            pht(
  32              'Explicit S3 endpoint to use. Leave empty to have Phabricator '.
  33              'select and endpoint. Normally, you do not need to set this.'))
  34          ->addExample(null, 'Use default endpoint')
  35          ->addExample('s3.amazon.com', 'Use specific endpoint'),
  36        $this->newOption('amazon-ec2.access-key', 'string', null)
  37          ->setLocked(true)
  38          ->setDescription(pht('Access key for Amazon EC2.')),
  39        $this->newOption('amazon-ec2.secret-key', 'string', null)
  40          ->setMasked(true)
  41          ->setDescription(pht('Secret key for Amazon EC2.')),
  42      );
  43    }
  44  
  45  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1