Access Control Cassandra

Is there a way to restrict access to Cassandra? In mysql, users need a username and password before gaining access, including tools such as workbench. Is there such a system in place or can the CLI and cqlsh tools access Cassandra independently?

+5
source share
2 answers

What version of Cassandra are you using? For 1.2.2 and later, you can authenticate using PasswordAuthenticator and CassandraAuthorizer, as described in the documentation ( http://www.datastax.com/docs/1.2/security/native_authentication ):

1- Change the authentication parameter cassandra.yaml to PasswordAuthenticator:

authenticator: org.apache.cassandra.auth.PasswordAuthenticator

auhorizer CassandraAuthorizer:

authorizer: com.datastax.bdp.cassandra.auth.CassandraAuthorizer

2- system_auth .

3- .

(cassandra), Cassandra. , start cqlsh:

./cqlsh -u cassandra -p cassandra

CQL .

, ( ) , " ".

, cassandra-cli , cqlsh :

./cassandra-cli -u username -pw password

: DataStax Enterprise Apache Cassandra

+4

, :

1.2.2 weve , , , ( ).

, : DataStax Enterprise 3.0 " " <2 >

DataStax Enterprise 3.0 . . DataStax DataStax Enterprise .

GRANT/REVOKE node SSL Cassandra

DataStax Enterprise , DataStax Community, :

Kerberos: , , , . Kerberos LDAP .

: , , SSTables ( ), . .

: .

, DataStax. DataStax Enterprise Edition DataStax Community Edition, :

DataStax Community Edition: Cassandra , DataStax OpsCenter. .

DataStax Community Edition:

DataStax Enterprise, :

, 1.2.2, , , .

: Apache Cassandra 1.2 - , :

+2

All Articles