mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 00:13:12 +03:00
-get-gcp-jwt: vertical
This commit is contained in:
parent
6a07130f0d
commit
a8113182a8
@ -31,7 +31,8 @@
|
|||||||
;< =key:rsa bind:m read-private-key
|
;< =key:rsa bind:m read-private-key
|
||||||
;< kid=@t bind:m (read-setting %private-key-id)
|
;< kid=@t bind:m (read-setting %private-key-id)
|
||||||
;< aud=@t bind:m (read-setting %token-uri)
|
;< aud=@t bind:m (read-setting %token-uri)
|
||||||
=* scope 'https://www.googleapis.com/auth/devstorage.read_write'
|
=* scope
|
||||||
|
'https://www.googleapis.com/auth/devstorage.read_write'
|
||||||
=/ jot=@t
|
=/ jot=@t
|
||||||
(make-jwt key kid iss scope aud now.bowl)
|
(make-jwt key kid iss scope aud now.bowl)
|
||||||
;< p=[access-token=@t expires-at=@da] bind:m
|
;< p=[access-token=@t expires-at=@da] bind:m
|
||||||
|
Loading…
Reference in New Issue
Block a user