get.pme.sh/pnats@v0.0.0-20240304004023-26bb5a137ed0/server/configs/accounts.conf (about)

     1  
     2  accounts: {
     3    synadia: {
     4      nkey: ADMHMDX2LEUJRZQHGVSVRWZEJ2CPNHYO6TB4ZCZ37LXAX5SYNEW252GF
     5  
     6      users = [
     7        # Bob
     8        {nkey : UC6NLCN7AS34YOJVCYD4PJ3QB7QGLYG5B5IMBT25VW5K4TNUJODM7BOX}
     9        # Alice
    10        {nkey : UBAAQWTW6CG2G6ANGNKB5U2B7HRWHSGMZEZX3AQSAJOQDAUGJD46LD2E}
    11      ]
    12  
    13      exports = [
    14        {stream: "public.>"} # No accounts means public.
    15        {stream: "synadia.private.>", accounts: [cncf, nats.io]}
    16        {service: "pub.request"} # No accounts means public.
    17        {service: "pub.special.request", accounts: [nats.io]}
    18      ]
    19  
    20      imports = [
    21        {service: {account: "nats.io", subject: "nats.time"}}
    22      ]
    23    }
    24  
    25    nats.io: {
    26      nkey: AB5UKNPVHDWBP5WODG742274I3OGY5FM3CBIFCYI4OFEH7Y23GNZPXFE
    27  
    28      users = [
    29        # Ivan
    30        {nkey : UBRYMDSRTC6AVJL6USKKS3FIOE466GMEU67PZDGOWYSYHWA7GSKO42VW}
    31        # Derek
    32        {nkey : UDEREK22W43P2NFQCSKGM6BWD23OVWEDR7JE7LSNCD232MZIC4X2MEKZ}
    33      ]
    34  
    35      imports = [
    36        {stream: {account: "synadia", subject:"public.synadia"}, prefix: "imports.synadia", allow_trace: true}
    37        {stream: {account: "synadia", subject:"synadia.private.*"}}
    38        {service: {account: "synadia", subject: "pub.special.request"}, to: "synadia.request"}
    39      ]
    40  
    41      exports = [
    42        {service: "nats.time", response: stream, allow_trace: true}
    43        {service: "nats.photo", response: chunked}
    44        {service: "nats.add", response: singleton, accounts: [cncf], allow_trace: true}
    45        {service: "nats.sub"}
    46      ]
    47    }
    48  
    49    cncf: { nkey: ABDAYEV6KZVLW3GSJ3V7IWC542676TFYILXF2C7Z56LCPSMVHJE5BVYO}
    50  }