Skip to main content
Participant
August 12, 2021
Answered

pdfservices-api-credentials.json not in the config.zip downloaded

  • August 12, 2021
  • 1 reply
  • 4009 views

Where would I find pdfservices-api-credentials.json or an example of it? It's not in the config.zip downloaded during the Get Started Workflow. The only files contained in the zip are the private key and public cert.

    This topic has been closed for replies.
    Correct answer Kenneth Patterson

    You can create one using this format (from here in the documentation):

     

    Example pdfservices-api-credentials.json file

    {
     "client_credentials": {
       "client_id": "<YOUR_CLIENT_ID>",
       "client_secret": "<YOUR_CLIENT_SECRET>"
     },
     "service_account_credentials": {
       "organization_id": "<YOUR_ORGANIZATION_ID>",
       "account_id": "<YOUR_TECHNICAL_ACCOUNT_ID>",
       "private_key_file": "<PRIVATE_KEY_FILE_PATH>"
     }
    }

    1 reply

    Kenneth PattersonCommunity ManagerCorrect answer
    Community Manager
    August 16, 2021

    You can create one using this format (from here in the documentation):

     

    Example pdfservices-api-credentials.json file

    {
     "client_credentials": {
       "client_id": "<YOUR_CLIENT_ID>",
       "client_secret": "<YOUR_CLIENT_SECRET>"
     },
     "service_account_credentials": {
       "organization_id": "<YOUR_ORGANIZATION_ID>",
       "account_id": "<YOUR_TECHNICAL_ACCOUNT_ID>",
       "private_key_file": "<PRIVATE_KEY_FILE_PATH>"
     }
    }
    daitranthanhoa
    Inspiring
    September 23, 2021

    Hi, Kenneth.

    Can download again "private_key_file" ?

     

    Community Manager
    September 23, 2021

    Yes, you can generate a new keypair - just follow these steps:

    1. Go to https://www.adobe.io/ 
    2. Click on the 'Console' button in the top right
    3. Scroll down and click on the associated project
    4. Click on 'Service Account (JWT)' on the left
    5. Scroll down and click on the 'Generate public/private keypair' and a config.zip file will be downloaded