Giter Site home page Giter Site logo

Comments (4)

khaf avatar khaf commented on June 12, 2024

What API do you need to call?

from aerospike-client-rust.

databasedav avatar databasedav commented on June 12, 2024

@khaf create_user, grant_roles, and ideally create_role as well but that has not been implemented yet for the rust client (#137), my goal is to do all database management stuff programmatically for the managed service (which recently went live for me), right now that involves creating set-limited roles, users, and indices, for now i've manually created all roles with asadm but u can imagine the convenience of performing all migrations programmatically with this client as roles/users/indices need to be created/removed

from aerospike-client-rust.

databasedav avatar databasedav commented on June 12, 2024

also create_user doesn't seem to be working for me, e.g. hitting an aerospike-ee container locally e.g.

AdminCommand::create_user(
    &aerospike_client.cluster,
    "tester",
    "testpassword",
    &["truncate"],
)
.await
.map_err(|error| anyhow!(error.to_string()))?;

gives me Server error: Invalid field

seeing the same hitting the managed service as well

from aerospike-client-rust.

khaf avatar khaf commented on June 12, 2024

I see. I don't know why those API are not exposed through the client itself. I will take care of these issues in the next few days.

from aerospike-client-rust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.