Finance-GDAX-API
view release on metacpan or search on metacpan
lib/Finance/GDAX/API.pm view on Meta::CPAN
Either way, the source of the secrets should provide key/value pairs
delimited by colons, one per line:
key:ThiSisMybiglongkey
secret:HerEISmYSupeRSecret
passphrase:andTHisiSMypassPhraSE
There can be comments ("#" beginning a line), and blank lines.
In other words, for exmple, if you cryptographically store your API
credentials, you can create a small callable program that will decrypt
them and provide them, so that they never live on disk unencrypted,
and never show up in process listings:
my $request = Finance::GDAX::API->new;
$request->external_secret('/path/to/my_decryptor', 1);
This would assign the key, secret and passphrase attributes for you by
forking and running the 'my_decryptor' program. The 1 designates a
fork, rather than a file read.
( run in 0.250 second using v1.01-cache-2.11-cpan-4d50c553e7e )