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

HTML to PDF converter

New Here ,
Jan 02, 2023 Jan 02, 2023

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?
389
Translate
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". 

Translate
Adobe Employee ,
Jan 03, 2023 Jan 03, 2023
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". 

Translate
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