Upload Secret File to Vercel for Use in Next.js Application - vercel

How do I upload a secret file, e.g. containing a .pem key, to Vercel for use in my next.js application? Clearly I don't want that in a git repo.

Related

Splitting a pdf File after uploading in amplify app with s3 storage

I'm trying to create a webapp for uploading some files, I created an amplify app (react) with a storage hooked up, now I would like to work the files either before being uploaded or after, to split and retrieve only some pages,
I confess that I don't know where to start to get this result, could you advise me where to start without using lambda
I followed the amplify guides to build the app and storage, and I used this component to upload files:
https://ui.docs.amplify.aws/react/connected-components/storage/fileuploader
how can i get the result?
where should i start from?

Problem in Shopify .env file for Client and server

What can I do in Shopify React App - When server use .env file but client also need to used same .env file ??

Your Android App Bundle is signed with the wrong key

My development and build environment for this Android app is Expo (React Native), and App signing is managed by Google Play.
I have already built and uploaded app bundles, this time I'm receiving error: Your Android App Bundle is signed with the wrong key. Ensure that your App Bundle is signed with the correct signing key and try again:SHA1: <SHA KEY>
I read couple of answers, but they are either a bit confusing, or not explained keeping in mind Expo.
I have verified that the slug name, and the app name is unchanged.
I have the .keystore file with me (it if makes sense).
I downloaded the Upload certificate from expo servers, and shared the same with Google Support, and requested them to update with this new certificate which I downloaded.

React Native Expo: Update existing app without using OTA

I have published the app before using expo cli and let expo to handle all the credentials & apple certificates for me. And now I have changed the app name. How can i update the existing app? Where to get the .p12 file? From my apple developer account, I have download the .cer file but it's type is Apple Push Service which is unable convert to .p12 file. As my understanding, we need a certificate file which type is iPhone Distribution.
You can fetch the distribution certificate (p12) using this expo command:
expo fetch:ios:certs
You should be in the project root and it will write the certificate on disk and print the password.
Also make sure you are logged in with the right user (use expo whoami to check the user and expo login to login).

Upload image in expo ImagePicker without aws amplify

I am using aws-sdk can I upload images without using aws amplify I'm using expo's ImagePicker module to select the image how can I put selected image from local file path to s3.
React native Fetch API should work with AWS Signed URL
You can upload any resources into your S3 without credentials or external libraries if you have signed url.