Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 2

New DAS exchange API

Children Display
pagea.- Initial private_key_jwt registration process

Table of Contents
typeflat

...

Key are then created inside the indicated output folder:

For generating the authentication token

The sample script (a.3.- Sample authentication script (using JWT private key) ) can be executed as follow: 

Code Block
 sh ./key_validate.sh das-ib-api-id1 {path_to_private_pem_key}/private_es256_key_name.pem

Image Added





...

Windows / OSX

As there are some differences between the previously mentioned soft needed for the proper execution of the scripts, it might be better to execute it via docker.

#First create the docker file for the image (with dependencies)

Code Block
languageyml
titledockerfile
linenumberstrue
collapsetrue
FROM debian

# Install required system packages
RUN apt-get update
RUN apt-get -y install  gnupg vim ssh
RUN apt-get -y install git openssh-client less iproute2 procps apt-transport-https coreutils curl gnupg-agent software-properties-common lsb-release jq xxd 

RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN apt-get -y install nodejs

#build the image

Code Block
 docker build ./ -t <image_name>

# execute docker as:

Code Block
docker run -it --rm -v $(pwd):/src <image_name> sh /src/scripts/jwt-ipo-das.sh client_ID /src/config/client_pem_file.pem