Comments (1)
This is about having the account-server sign JWTs this workflow will be handled externally by some user provided process.
Currently the server has an undocumented and usupported mechanism where if configured like this:
operatorjwtpath: "/srv/store/O/O.jwt",
systemaccountjwtpath: "/srv/store/O/accounts/SYS/SYS.jwt"
signrequestsubject: "sign.it"
http {
port: 9090
host: 0.0.0.0
},
store {
dir: "/hostvolume/nats-account-server",
readonly: false,
}
nats {
servers: [nats://nats-server:4222]
usercredentials: "/srv/creds/O/SYS/sys.creds"
}
Where the relevant part is the signrequestsubject, it will publish a message on that subject on the system account. Another process listening on the system account for that subject, will be presented with the JWT, and should reply with an operator signed JWT, which the server in turn will store. This effectively enables a workflow where some other process can perform verification of the request to sign the JWT, add limits.
from nats-account-server.
Related Issues (20)
- No Logs for when the account server connects to nats (only on reconnect)
- investigate adding pack support to nsc store
- Run nats-account-server as Windows Service HOT 1
- Are filesystem notifications required? HOT 1
- Exposition of port 9090 should be done before trying to communicate with Nats Cluster. To avoid the "Chicken and egg" issue HOT 3
- Algorithm Problem Activations
- `--primary` flag has no config file equivalent and it should.
- Host bind should default to 0.0.0.0
- Add --version flag
- Add `system_account` as in the NATS Server
- Add `operator` config as in the NATS Server
- Is `nats-io/jwt/v2` not supported with `nats-account-server` ? HOT 1
- panic: runtime error when revocation is done for a user
- nsc push results in 404 HOT 1
- some flags not working or missing
- Primary and replica
- staticcheck error S1017 HOT 1
- v1.0.0 release broken HOT 3
- Support for direct access of the nsc folder has been removed
- feature request - support db store for accounts HOT 2
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 nats-account-server.