shrub/pkg/arvo/lib/gcp.hoon

16 lines
236 B
Plaintext
Raw Normal View History

2021-02-24 22:30:49 +03:00
/- *gcp
|%
++ token-to-json
|= =token
^- json
=, enjs:format
%+ frond %gcp-token
%: pairs
access-key+s+access-key.token
:- %expires-in
%- numb
(div (mul 1.000 expires-in.token) ~s1)
~
2021-02-24 22:30:49 +03:00
==
--