jcberquist/aws-cfml

Question, not issue - what to do with a PEM file?

Opened this issue · 1 comments

Does anyone have a guide for how this works?

Need to upload to a S3 bucket and client will only provide PEM file.
Not really familiar with using these and having trouble finding the info online.

Lucee on Windows.
Already using aws-cfml for S3 with awsKey/awsSecretKey for credentials.

Can i just take the PEM file somehow and extract what i need for above,
or does it have to be installed on the server somehow (ugh),
or something else entirely?

I am sorry, I am not sure what you are asking - you say that you have an "awsKey/awsSecretKey for credentials" - so I am assuming you have access to the bucket and your specific issue is that your client wants objects to be encrypted, is that right? If so, I would think you need to know whether they want you to encrypt objects locally before uploading, or they want to use server side encryption where the objects are encrypted at rest using a key your client controls. Unfortunately, I am not familiar with these scenarios, so you might have to dig around in the AWS documentation. As far as the PEM file itself goes, you should be able to parse the key it contains and use it via Java.