-get-gcp-jwt: vertical

This commit is contained in:
J 2021-02-23 23:48:50 +00:00
parent 6a07130f0d
commit a8113182a8

View File

@ -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