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

1Password integration #1192

Open
maelp opened this issue Jan 23, 2025 · 4 comments
Open

1Password integration #1192

maelp opened this issue Jan 23, 2025 · 4 comments
Labels
enhancement New feature or request

Comments

@maelp
Copy link

maelp commented Jan 23, 2025

What problem will this feature address?

Would be really cool if we could setup a 1Password integration with a token so that in environment variable we could use something like

AWS_ACCESS_KEY_ID="op://development/aws/Access Keys/access_key_id"
AWS_SECRET_ACCESS_KEY="op://development/aws/Access Keys/secret_access_key"

and have them automatically converted using op run

(see https://developer.1password.com/docs/cli/secrets-environment-variables/)

Describe the solution you'd like

Integrating 1Password

Describe alternatives you've considered

Not sure how to do it otherwise?

Additional context

No response

Will you send a PR to implement it?

Maybe, need help

@maelp maelp added the enhancement New feature or request label Jan 23, 2025
@Paillat-dev
Copy link

Is it even possible to have onepassword in a production environment ? I don't see how that would make sense.

@maelp
Copy link
Author

maelp commented Jan 23, 2025

Of course :) there's 1Password cli with account token, it serves as a Secret Manager API, like any other (Google Secret Manager, etc)

You just define the secrets you want to allow access to on the token (eg "staging backend secret token") and then you can access them using 1Password cli, so you don't have to copy-paste them everywhere in config files, and if you change them in 1Password, they will be automatically updated next time you deploy

@Paillat-dev
Copy link

Well, as a 1password user myself, I didn't know that, but now I need it asap :p This seems really useful !

@maelp
Copy link
Author

maelp commented Jan 23, 2025

It is! That's why it would be lovely to make it accessible in Dokploy :)

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

No branches or pull requests

2 participants