No

No 1Password API? Host One Yourself

Hacker News

No 1Password API? Host One Yourself

I had a recent task of automatically syncing SSL keys that are dropped in an S3 bucket to 1password, so that every instance created using our terraform module is instantly categorized in our ssl vault. Thing is, there was no direct way of doing it... Just a cli, which can't be shipped to AWS Lambda. So I built a python wrapper around it (https://github.com/lettdigital/onepassword-python) that I could then wrap in a WSGI server. Here is the API you can host yourself: https://github.com/lettdigital/onepassword-api Just `docker-compose up -d` and you are good to go. Really, no need to even download the cli, it is all taken care of. One thing to notice is that there are two authentication methods. Well, actually only one, but there are two types of submission: passing your credentials everytime or using the `login` route and then using the token+shorthand returned. This means that the API is stateful :( One other thing. I opted to use GET routes with request body. I couldn't find another way of doing these routes without resorting to a custom Authentication header, so any suggestion would be much appreciated.

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: dock, using · Missing: mac, agents, macos
69%69% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: created · Missing: supports, reddit linkedin, podcasting
64%64% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: host · Missing: plus, platform, intuitive
47%47% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: way · Missing: mobile apps, ios, personal
44%44% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: io · Missing: https docs, excited, just released
42%42% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
16%16% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Ir
Iran's army prevents couchsurfers to host foreigners53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Iran's army prevents couchsurfers to host foreigners

Hacker News12
Ti
Tiiny Host hits $2k MRR43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Tiiny Host hits $2k MRR

Hacker News1
Ho
Host your own Go modules with conr63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Host your own Go modules with conr

Hacker News2
Kinnickinnic Bees
Kinnickinnic Bees17%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Host a Beehive

Indie Hackers
I
I made a no-bullshit image host45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I made a no-bullshit image host

Hacker News248
Ho
Host CAS based chatrooms with Jasymchat54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Host CAS based chatrooms with Jasymchat

Hacker News2
Ho
Host CAS based chatrooms with Jasymchat54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Host CAS based chatrooms with Jasymchat

Hacker News2
Ho
Host CAS based chatrooms with Jasymchat54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Host CAS based chatrooms with Jasymchat

Hacker News1
A
A vichan variant that ChatGPT helped me host68%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A vichan variant that ChatGPT helped me host

Hacker News4
Ch
Chatparty – host videochat parties with no audio57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Chatparty – host videochat parties with no audio

Hacker News41