Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F447928
PhabricatorAWSConfigOptions.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorAWSConfigOptions.php
View Options
<?php
final
class
PhabricatorAWSConfigOptions
extends
PhabricatorApplicationConfigOptions
{
public
function
getName
()
{
return
pht
(
'Amazon Web Services'
);
}
public
function
getDescription
()
{
return
pht
(
'Configure integration with AWS (EC2, SES, S3, etc).'
);
}
public
function
getFontIcon
()
{
return
'fa-server'
;
}
public
function
getGroup
()
{
return
'core'
;
}
public
function
getOptions
()
{
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-s3.access-key'
,
'string'
,
null
)
->
setLocked
(
true
)
->
setDescription
(
pht
(
'Access key for Amazon S3.'
)),
$this
->
newOption
(
'amazon-s3.secret-key'
,
'string'
,
null
)
->
setHidden
(
true
)
->
setDescription
(
pht
(
'Secret key for Amazon S3.'
)),
$this
->
newOption
(
'amazon-s3.endpoint'
,
'string'
,
null
)
->
setLocked
(
true
)
->
setDescription
(
pht
(
'Explicit S3 endpoint to use. Leave empty to have Phabricator '
.
'select and endpoint. Normally, you do not need to set this.'
))
->
addExample
(
null
,
pht
(
'Use default endpoint'
))
->
addExample
(
's3.amazon.com'
,
pht
(
'Use specific endpoint'
)),
$this
->
newOption
(
'amazon-ec2.access-key'
,
'string'
,
null
)
->
setLocked
(
true
)
->
setDescription
(
pht
(
'Access key for Amazon EC2.'
)),
$this
->
newOption
(
'amazon-ec2.secret-key'
,
'string'
,
null
)
->
setHidden
(
true
)
->
setDescription
(
pht
(
'Secret key for Amazon EC2.'
)),
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 5:37 PM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
66419
Default Alt Text
PhabricatorAWSConfigOptions.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment