How to enable SwiftStackAuth in Swift proxy server - openstack-swift

How do I use SwiftStackAuth for authentication? I wasn't able to find out any instruction on official site:- http://docs.openstack.org/developer/swift/howto_installmultinode.html

Kartik,
If you meant tempAuth then kindly check this guide you need to do changes in the proxy-server.conf. The official guide uses Keystone as Auth Backend.
Hope it helps.

Related

How to enable authentication in MaxScale in MONGO for production?

We have a MariaBD version using MaxScale to use the NoSQL version using MongoDB driver.
However, the connection is made without authentication and so it is possible to create new databases and collections within MaxScale.
How to enable authentication for connection using nosql protocol.
Thank you very much for everyone's attention.
type=listener
service=Read-Write-Service
protocol=nosqlprotocol
nosqlprotocol.user=maxscale
nosqlprotocol.password=password
port=17017
You can require authentication of clients by adding nosqlprotocol.authentication_required=true in the listener configuration.
There is a section Bootstrapping the Authentication/Authorization at
https://mariadb.com/kb/en/mariadb-maxscale-6-nosql-protocol-module/#authentication that explains how to take authentication into use.

How to find json format of kubernetes command

I know that every command that I enter in Kubernetes communicate with API.
Now I want to speak to API directly.
How can I find json format for every command?
I suggest using a client library if you talk from a programming language:
https://kubernetes.io/docs/reference/#api-client-libraries
Or use kubectl if you talk from CLI. Hardcoding API schemas will add you a maintenance burden. You're basically reimplementing the client in this case.
Following is the kubernetes API reference docs, you can find equivalent API for each resources here:
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.13/
Hope this helps

reactivesearch - reactivebase with AWS

Using ReactiveSearch with plain elasticsearch
this above link as well as appbase.io briefly talks how to connect reactivebase with elasticsearch that runs on AWS. can someone provide more details on how to do that?
thanks!

issue when deploy basic auth in kubernetes dashboard

I try to add a basic authentication to my kubernetes cluster by changing the file.
/etc/kubernetes/manifest/kubernetes-apiserver.yaml
There i add 3 flags
-- basic-auth-file=/etc/kubernetes/basic-auth.csv
-- authorization-mode=ABAC
-- authentication-mode=basic
But when i add those lines and i restart my system. My kubernetes freezes and won't start. Is this the right way to add flags to an already running kubernetes cluster ? Is this the right way to add basic authentication to kubernetes dashboard ?
I used this tutorial for the basic authentication: https://github.com/kubernetes/dashboard/wiki/Access-control#basic
Conceptually you doing everything right, but the problem is that for Modern Kubernetes version, at least for 1.9, authentication-mode is not a valid CLI flag for API server. All available flags you can check in documentation.
It is a bit outdated documentation in the repo. Actually, basic authentification will be enabled when you provided basic-auth-file option.
So, just remove authentication-mode flag and use only basic-auth-file and authorization-mode. If should help.
For enable a user/password authorization, based on documentation of dashboard, you need to add authentication-mode CLI arg to a Dashboard.

where can I find the docu for the service connector?

I'm not able to find the service connector documentation.
When searching for "service connector" in the documentation, I get this link - but it points into the nirvana...
where can I find the correct documentation?
Swisscoms' custom Cf-CLI plugin Service Connector is deprecated and should no longer be used.
Please use cf ssh instead:
https://docs.developer.swisscom.com/devguide/deploy-apps/ssh-apps.html
https://docs.developer.swisscom.com/devguide/deploy-apps/ssh-services.html