Replies: 1 comment 2 replies
-
Since you can list the permissions of a macaroon with You're welcome to create a PR though if you think it's helpful to have that documented. Also, when you're creating custom macaroons, consider not adding the Maybe you can add the two hints above to your documentation PR as well? |
Beta Was this translation helpful? Give feedback.
-
I tried to find information what the admin.macaroon contains to create customs macaroon for 3rd party application usage.
I could not find such example anywhere. So I checked what rights admin.macaroon contained and composed command line to bake the similar manually.
From this sample it is easy to modify and limit the access of certain accounting apps like BTCpay or LNbits to a certain amount, as operator might desire so. Usually those applications recommend to "copy admin.macaroon" to application. I'd prefer to bake custom macaroon for each use case.
I got the an idea about sharing this example to the world, and I was thinking to open issue for this specific information is not available.
But - what would be the issue type I should open?
Or could I just PR my suggestion of small addition to documentation, which can be seen here:
master...tlindi:lnd:admin-macaroon-recreate-sample
Br, tlindi
Beta Was this translation helpful? Give feedback.
All reactions