r/1Password•
markmcw

(Secrets Automation) Connect to 1Password Connect Server in Github Actions

Hey 1Password Community.

I've pulled together a Github Action that will connect to 1Password's new Connect Server in your Github Actions Workflow. So you can grab secrets and credentials and use them in your workflow/pipeline.

You can find it here: https://github.com/marketplace/actions/1password-github-actions

If you're any good at Typescript; I'd really welcome your PRs as this is my first ever TS project.

Cheers

Posted May 26, 2021, 3:24 PM UTC · edited

73
Roadripper1995•

Nice job. It would be cool if you could have an option for your action to start the Connect Server docker images and fetch the secret all in one step. Right now I’d have to either run a connect server on the cloud or start one in a step prior to the action. Not a big deal but would make it easier to use! :)

3
markmcwOP•

Yeah totally - not impossible and I believe I've seen people do it as well!

Entirely down to how you're set up too I guess. We have a central Connect Server that Github Actions reaches out to, along with Terraform etc.

2
1Password-Carson1Password Alumni :1Password:•

Hey! This is so cool!

I really like the automatic convention of Item name and field mapping to item_name_field.

3