Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorAWSConfigOptions.php
Show All 36 Lines | return array( | ||||
'available regions and endpoints in the AWS documentation.')) | 'available regions and endpoints in the AWS documentation.')) | ||||
->addExample('us-west-1', pht('USWest Region')), | ->addExample('us-west-1', pht('USWest Region')), | ||||
$this->newOption('amazon-s3.endpoint', 'string', null) | $this->newOption('amazon-s3.endpoint', 'string', null) | ||||
->setLocked(true) | ->setLocked(true) | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Explicit S3 endpoint to use. This should be the endpoint '. | 'Explicit S3 endpoint to use. This should be the endpoint '. | ||||
'which corresponds to the region you have selected in '. | 'which corresponds to the region you have selected in '. | ||||
'`amazon-s3.region`. Phabricator can not determine the correct '. | '`amazon-s3.region`. This software can not determine the correct '. | ||||
'endpoint automatically because some endpoint locations are '. | 'endpoint automatically because some endpoint locations are '. | ||||
'irregular.')) | 'irregular.')) | ||||
->addExample( | ->addExample( | ||||
's3-us-west-1.amazonaws.com', | 's3-us-west-1.amazonaws.com', | ||||
pht('Use specific endpoint')), | pht('Use specific endpoint')), | ||||
$this->newOption('amazon-ec2.access-key', 'string', null) | $this->newOption('amazon-ec2.access-key', 'string', null) | ||||
->setLocked(true) | ->setLocked(true) | ||||
->setDescription(pht('Access key for Amazon EC2.')), | ->setDescription(pht('Access key for Amazon EC2.')), | ||||
$this->newOption('amazon-ec2.secret-key', 'string', null) | $this->newOption('amazon-ec2.secret-key', 'string', null) | ||||
->setHidden(true) | ->setHidden(true) | ||||
->setDescription(pht('Secret key for Amazon EC2.')), | ->setDescription(pht('Secret key for Amazon EC2.')), | ||||
); | ); | ||||
} | } | ||||
} | } |