Comments (4)
What API do you need to call?
from aerospike-client-rust.
@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.
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.
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)
- migrate `MapWriteMode` to `MapWriteFlags`
- `Parameter error` when filtering on large i64 values HOT 5
- possible improvements HOT 6
- New Features
- Issue with Float serialization for Values HOT 1
- WaitGroup explicitly poisoned on batch_get
- Aerospike Version 6 Functionality HOT 5
- Implement serde::Serialize and serde::Deserialize for aerospike::Value and aerospike::Record HOT 1
- Implement std::convert::TryFrom<aerospike::Value> for each variant HOT 1
- support bool data type HOT 5
- `impl Stream` for `RecordSet`
- add missing policy and option fields to query and scan
- Is this still supported? HOT 1
- make error type compatible with `anyhow::Error` HOT 6
- Transaction commit and rollback HOT 1
- derive `Clone` for `Client` HOT 2
- add missing role/privilege api's to `AdminCommand`
- Batch Operate HOT 2
- Async client HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aerospike-client-rust.