mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
work in progress #1350 - change tabs to spaces
This commit is contained in:
parent
b39f2c4a44
commit
3bf6e0cd1f
1 changed files with 7 additions and 7 deletions
|
@ -12,10 +12,10 @@ upload by setting the "x-amz-server-side-encryption" HTTP request header to
|
|||
AES256. You can short hand set this HTTP header via the ````encryption```` key
|
||||
value pair. For example,
|
||||
|
||||
# encrypt file at rest
|
||||
file = directory.files.create(
|
||||
:key => 'resume.html',
|
||||
:body => File.open("/path/to/my/resume.html"),
|
||||
:public => true,
|
||||
:encryption => 'AES256'
|
||||
)
|
||||
# encrypt file at rest
|
||||
file = directory.files.create(
|
||||
:key => 'resume.html',
|
||||
:body => File.open("/path/to/my/resume.html"),
|
||||
:public => true,
|
||||
:encryption => 'AES256'
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue