For ease of use, initialize environment variables with the API credential details previously obtained in Getting API credentials

Environment variable

API credential details

​SUBJECT_ID

Subject ID

PASSWORD

Password

PARTITION

Organization ID 

SIGNING_SERVICE_URL

RAW Signer URL

IDP_URL

Identity Provider (Id) URL

For example:

$ export SUBJECT_ID=a08**********************************e57b
$ export PASSWORD=1570b**********************************72c
$ export PARTITION=intsasapi1
$ export SIGNING_SERVICE_URL=https://rawsigner.pkiaas.entrust.com
$ export IDP_URL=https://idp.pkiaas.entrust.com

See Identity Provider service and Raw Signature service for a reference of the service URLs.