mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
Added make deploy
Added /docs so we can host
This commit is contained in:
24
docs/nats_tools/nas/dir_store.md
Normal file
24
docs/nats_tools/nas/dir_store.md
Normal file
@@ -0,0 +1,24 @@
|
||||
## Directory Store
|
||||
|
||||
|
||||
### NATS Account Server Configuration
|
||||
|
||||
```
|
||||
OperatorJWTPath: "/users/synadia/.nsc/nats/Test/Test.jwt",
|
||||
http {
|
||||
port: 9090
|
||||
},
|
||||
store {
|
||||
dir: "/tmp/as_store",
|
||||
readonly: false,
|
||||
shard: true
|
||||
}
|
||||
```
|
||||
|
||||
### To Add/Update a JWT
|
||||
|
||||
```
|
||||
> curl -i -X POST localhost:9090/jwt/v1/accounts/AC7PO3MREV26U3LFZFP5BN3HAI32X3PKLBRVMPAETLEHWPQEUG7EJY4H --data-binary @/Users/synadia/.nsc/nats/Test/accounts/TestAccount/TestAccount.jwt -H "Content-Type: text/text"
|
||||
```
|
||||
|
||||
Note that the `@` before the file name is required for curl to read the specified file, and use it as the payload. Otherwise it will simply post the path specified, which will result in an update error.
|
||||
2340
docs/nats_tools/nas/index.html
Normal file
2340
docs/nats_tools/nas/index.html
Normal file
File diff suppressed because it is too large
Load Diff
2363
docs/nats_tools/nas/inspecting_jwts.html
Normal file
2363
docs/nats_tools/nas/inspecting_jwts.html
Normal file
File diff suppressed because it is too large
Load Diff
2393
docs/nats_tools/nas/mem_resolver.html
Normal file
2393
docs/nats_tools/nas/mem_resolver.html
Normal file
File diff suppressed because it is too large
Load Diff
2577
docs/nats_tools/nas/nas_conf.html
Normal file
2577
docs/nats_tools/nas/nas_conf.html
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user