What I'm saying is that if you want to provide Create, Read, Update, Delete access to your data path in ECS via Active Directory, you can use the secret key self-service feature via the management API. This is specific to S3 and not going to work if you're using Swift. When I say data path I mean S3, Swift, Atmos, CAS protocols. When I say management API I mean using the ECS management API (https://my_ecs_ip:4443) within which provides the secret key self-service methods. The work flow would be:
Depending on the language and SDK you're using, the configurtion/setup will vary. This should at least get you started with making some basic calls into the ECS object store. Please post back if you have further questions or issues.
Thanks, Can we use ECS without depending on any SDK or third party tool like Cyberduck?
For example the ports open for Swift Protocol is 9024 and 9025 right. Just using a browser and AD authentication on a windows client is it possible??? SDK mostly is for developers is it not???
Thanks, but this one is using Cyberduck which is a free ware third party tool. We need to achieve this in enterprise level
I was looking for, like If I have a Windows client using Swift Protocol how can I access the NameSpace-->Buckets on ECS Object storage. If we need to depend Cyberduck or Openstack for every thing with a token validation. it is disastrous for an enterprise environment.
No, using Cyberduck should only be for testing. You can use any HTTP client that's capable of submitting/receiving requests/responses. The SDKs are useful because they've already been written and tested to perform all the REST interactions available through the various protocols (Swift, S3, Atmos, CAS). Whatever client you use, you need to conform to the API spec. I don't know of any way to use a straight browser to work with the APIs. When using S3, every request needs to be signed using a secret key and this would be difficult to do in a browser. A couple suggestions might be to try straight curl for Swift and s3curl for S3. Those two CLI tools work very well for simple object storage interactions.
Thanks for your reply, more clear now, but our case is this.
We would like a service account setup that has access to a Swift Object Storage Name space Optimally this namespace would have approximately 25GB of storage allocated so we can experiment with uploading some larger scientific files that are produced by the Basic Science research cores.
The service account needs full authorization to create/delete Swift containers (i.e. buckets) in this namespace. Once configured, we need account details and the APIs base endpoint URL We will be accessing these sandbox APIs using the Swift python CLI, as well as other scripting/language stacks, such as bash, Ruby, etc...
Thanks, We are using AD credentials to login to the Linux client with a RDP gateway server. No keystone Auth is used. Almost the Swiftstack setup you mentioned in your email.
Can you help with some Curl statements please. I mean to connect and then to create a folder, and also put a file on that folder and delete the file and folder. (on Swift-ECS-Linux client)
benschumacher
1 Rookie
•
75 Posts
3792
0
Posted October 3rd, 2017 08:00
What I'm saying is that if you want to provide Create, Read, Update, Delete access to your data path in ECS via Active Directory, you can use the secret key self-service feature via the management API. This is specific to S3 and not going to work if you're using Swift. When I say data path I mean S3, Swift, Atmos, CAS protocols. When I say management API I mean using the ECS management API (https://my_ecs_ip:4443) within which provides the secret key self-service methods. The work flow would be:
1.) AD user authenticates into ECS management API (https://my_ecs_ip:4443/login).
2.) Using the token obtained above, call the secret key self-service API to get/generate an S3 secret key (https://my_ecs_ip:4443/object/secret-keys).
3.) Log out of the management API to discard token.
4.) Using the secret key obtained in step 2, perform CRUD operations via S3.
At this point, if you still have questions, I suggest we jump on a quick WebEx to discuss further.
Thanks,
Ben