You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Requirements

The script needs to be executed in a linux shell (bash, git, etc), just check that the "shebang" line ('#!/.....' ) matches your system.

In order to be able to execute the script, please ensure that the following software is installed in your system:

  • jq
  • openssl
  • xxd
  • base64

Executing scripts

For generating the asymmetric key

 The sample script (a.1.- Generation of (ES256) asymmetric keys) can be executed as follow:


sh ./private_key_jwt_generation.sh output_folder private_es256_key_name.pem public_es256_key_name.pem

Key are then created inside the indicated output folder:

For generating the authentication token

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

 sh ./key_validate.sh authorized_client_id {path_to_private_pem_key}/private_es256_key_name.pem

The root page New DAS exchange API could not be found in space DAS Wiki.




  • No labels