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

     1  # Server that loads an operator JWT
     2  
     3  listen: 127.0.0.1:22222
     4  
     5  # Can be an array of filenames as well.
     6  # Key can be operator, operators, roots, root, root_operators, root_operator
     7  
     8  operator = "./configs/nkeys/op.jwt"
     9  
    10  system_account = "AD2VB6C25DQPEUUQ7KJBUFX2J4ZNVBPOHSCBISC7VFZXVWXZA7VASQZG"
    11  
    12  # This is for account resolution.
    13  # Can be MEMORY (Testing) or can be URL(url).
    14  # The resolver will append the account name to url for retrieval.
    15  # E.g.
    16  # resolver = URL("https://api.synadia.com/ngs/v1/accounts/jwt")
    17  #
    18  resolver = MEMORY
    19  
    20  # This is a map that can preload keys:jwts into a memory resolver.
    21  resolver_preload = {
    22      AD2VB6C25DQPEUUQ7KJBUFX2J4ZNVBPOHSCBISC7VFZXVWXZA7VASQZG : "eyJ0eXAiOiJqd3QiLCJhbGciOiJlZDI1NTE5In0.eyJqdGkiOiJDSzU1UERKSUlTWU5QWkhLSUpMVURVVTdJT1dINlM3UkE0RUc2TTVGVUQzUEdGQ1RWWlJRIiwiaWF0IjoxNTQzOTU4NjU4LCJpc3MiOiJPQ0FUMzNNVFZVMlZVT0lNR05HVU5YSjY2QUgyUkxTREFGM01VQkNZQVk1UU1JTDY1TlFNNlhRRyIsInN1YiI6IkFEMlZCNkMyNURRUEVVVVE3S0pCVUZYMko0Wk5WQlBPSFNDQklTQzdWRlpYVldYWkE3VkFTUVpHIiwidHlwZSI6ImFjY291bnQiLCJuYXRzIjp7ImxpbWl0cyI6e319fQ.7m1fysYUsBw15Lj88YmYoHxOI4HlOzu6qgP8Zg-1q9mQXUURijuDGVZrtb7gFYRlo-nG9xZyd2ZTRpMA-b0xCQ"
    23  
    24      ADM2CIIL3RWXBA6T2HW3FODNCQQOUJEHHQD6FKCPVAMHDNTTSMO73ROX: "eyJ0eXAiOiJqd3QiLCJhbGciOiJlZDI1NTE5In0.eyJqdGki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