Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions unclear #33

Open
LordManhattan opened this issue Sep 3, 2023 · 2 comments
Open

Instructions unclear #33

LordManhattan opened this issue Sep 3, 2023 · 2 comments

Comments

@LordManhattan
Copy link

To use the resend delivery method, set the RESEND_API_KEY environment variable.

export RESEND_API_KEY=$(pass RESEND_API_KEY)

Where exactly do we paste this bit? There's no config-file, and I can't figure out what to do with this. I have the API key, and I've added it to Pop.

@thehatchcloud
Copy link

export creates the RESEND_API_KEY environmental variable. When you run pop , it will look for the value of that variable.

@dieselbabyy
Copy link

To use the resend delivery method, set the RESEND_API_KEY environment variable.

export RESEND_API_KEY=$(pass RESEND_API_KEY)

Where exactly do we paste this bit? There's no config-file, and I can't figure out what to do with this. I have the API key, and I've added it to Pop.

It's worth pointing out here that you need to make sure that you have the pass password manager installed on your system. I realize that your post is over a year old but I figured I would clear this up for anyone else who might have been similarly confused as I was, this isn't very clear in the documentation.

So, if you don't have pass already set up and configured, you'll need to set yourself up with a keypair using gnupg and then initializing the pass password store to your local directory, and add the resend API key to pass with the command pass insert -m RESEND_API_KEY -- after you hit enter it'll tell you to type/paste it in, and then press Ctrl+D, which will sign it with your key.

Then run that command export RESEND_API_KEY=$(pass RESEND_API_KEY) and you will be good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants