Can you provide to create user in DSE 6.8.14
Can you provide to create user in DSE 6.8.14
Hi Sunil,
The use of database users has been deprecated in DSE, you should create a new role instead for any authorization/authentication needs. The doc page here should help, but let us know if there are any questions that aren't covered:
https://docs.datastax.com/en/dse/6.8/cql/cql/cql_reference/cql_commands/cqlCreateRole.html
Thanks
Hello Starlord,
I have below issue when I am creating role:
cassandra@cqlsh> create role cloudiq_ro WITH SUPERUSER = False LOGIN = true PASSWORD = 'XXX_123';
SyntaxException: line 1:46 mismatched input 'LOGIN' expecting EOF (...cloudiq_ro WITH SUPERUSER = False [LOGIN]...)
cassandra@cqlsh> list all permissions of cassandra;
Unauthorized: Error from server: code=2100 [Unauthorized] message="Anonymous users are not authorized to perform this request"
Please help me out
You are missing the AND
operator in your command. The correct format is:
CREATE ROLE role_name WITH SUPERUSER = false AND LOGIN = true AND PASSWORD = 'Compl3xP@55word';
If you need other examples, have a look at the CQL CREATE ROLE page. Cheers!
6 People are following this question.
Unable to create users/super-user
Getting "Invalid metadata has been detected for role"
DSE Search throws IOException when using basic HTTP auth with Solr UI
Is it possible to suppress authentication warnings in the Java driver?
Datastax exception cassandra role manager skipped default role and unable achieve consistency level
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use