From a41f4cfb6ec0e2973bb428bf1de58f7a28263d60 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Thu, 22 Nov 2018 11:17:41 +0000 Subject: [PATCH] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d7ccdf0..04e0293 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ The middleware accepts the following configuration options: * `credentials`: instead of configuring a `credentials_path` you can pass the content of the tls.cert directly * `macaroon`: instead of configuring a `macaroon_path` you can pass the hex content of the macaroon directly you can get the macaroon content like this: + `xxd -p -c2000 admin.macaroon` or: ```ruby ::File.read(::File.expand_path("/path/to/admin.macaroon")).each_byte.map { |b| b.to_s(16).rjust(2,'0') }.join ```