Hi Paul,

Thank You.

I was looking for suggestions on how my ceph client should get access and 
secret keys.

Another thing where I need help is regarding encryption 
http://docs.ceph.com/docs/mimic/radosgw/encryption/# 
<http://docs.ceph.com/docs/mimic/radosgw/encryption/#>

I am little confused what does these statement means.

The Ceph Object Gateway supports server-side encryption of uploaded objects, 
with 3 options for the management of encryption keys. Server-side encryption 
means that the data is sent over HTTP in its unencrypted form, and the Ceph 
Object Gateway stores that data in the Ceph Storage Cluster in encrypted form.

Note Requests for server-side encryption must be sent over a secure HTTPS 
connection to avoid sending secrets in plaintext. 

CUSTOMER-PROVIDED KEYS 
<http://docs.ceph.com/docs/mimic/radosgw/encryption/#customer-provided-keys>
In this mode, the client passes an encryption key along with each request to 
read or write encrypted data. It is the client’s responsibility to manage those 
keys and remember which key was used to encrypt each object.


My understanding is when ceph client is trying to upload a file/object to Ceph 
cluster then client request should be https and will include  
“customer-provided-key”.
Then Ceph will use customer-provided-key to encrypt file/object before storing 
data into Ceph cluster.

Please correct and suggest best approach to store files/object in Ceph cluster.

Any code example of initial handshake to upload a file/object with 
encryption-key will be of great help.

Regards,
Rishabh

> On 05-Dec-2018, at 2:48 AM, Paul Emmerich <paul.emmer...@croit.io> wrote:
> 
> You are probably looking for radosgw-admin which can manage users on
> the shell, e.g.:
> 
> radosgw-admin user create --uid username --display-name "full name"
> radosgw-admin user list
> radosgw-admin user info --uid username
> 
> The create and info commands return the secret/access key which can be
> used with any S3 client.
> 
> -- 
> Paul Emmerich
> 
> Looking for help with your Ceph cluster? Contact us at https://croit.io
> 
> croit GmbH
> Freseniusstr. 31h
> 81247 München
> www.croit.io
> Tel: +49 89 1896585 90
> Am Di., 4. Dez. 2018 um 18:55 Uhr schrieb Rishabh S 
> <talktorishab...@gmail.com>:
>> 
>> Dear Members,
>> 
>> I am new to ceph and implementing object store using ceph.
>> 
>> I have following scenario.
>> 
>> 1. I have an application which needs to store thousands of files in to ceph 
>> cluster
>> 2. My application will be deployed in kubernetes cluster
>> 3. My application will communicate using Rest API
>> 
>> My application will be ceph client which will be communicating ceph cluster 
>> using http/https.
>> Can some one please help me with how my application should get 
>> access-key/secret-key to communicate with ceph cluster.
>> 
>> I am mainly looking for rest/http api example for initial 
>> authentication/authorization handshake.
>> 
>> Thanks in advance.
>> 
>> Regards,
>> Rishabh
>> 
>> 
>> 
>> On 04-Dec-2018, at 11:11 PM, ceph-users-requ...@lists.ceph.com wrote:
>> 
>> ceph-users@lists.ceph.com
>> 
>> 
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users@lists.ceph.com
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to