• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

HTML to PDF converter

New Here ,
Jan 02, 2023 Jan 02, 2023

Copy link to clipboard

Copied

I am converting html to pdf using node js. to create credential Object, I am using below code.

 const credentials = PDFServicesSdk.Credentials.serviceAccountCredentialsBuilder()   .fromFile(path1.join(__dirname, '../pdfservices-api-credentials.json')) .build();
this is working absolutely fine. but for security resons I dont want to keep credentails inside file pdfservices-api-credentials.json
I am keeping its content in azure vault. So, is there any other way to use instead of using fromFile method?

Views

34

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Jan 03, 2023 Jan 03, 2023

Yes, all the SDKs let you pass in the various credentials via methods. I show an example here, https://medium.com/adobetech/tips-and-tricks-for-working-with-adobe-pdf-embed-and-services-ce685594b00e. Scroll down to "Adobe PDF Services — Environment Variables". 

Likes

Translate

Translate
Adobe Employee ,
Jan 03, 2023 Jan 03, 2023

Copy link to clipboard

Copied

LATEST

Yes, all the SDKs let you pass in the various credentials via methods. I show an example here, https://medium.com/adobetech/tips-and-tricks-for-working-with-adobe-pdf-embed-and-services-ce685594b.... Scroll down to "Adobe PDF Services — Environment Variables". 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources