git-credential-1password

command module
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: ISC Imports: 1 Imported by: 0

README

git-credential-1password

license Go Report Card CodeQL

Helper to store git credentials inside 1password.

Installation

Dependencies

To use this helper you need to install the 1password command-line tool (>=2.8.0) (download) and of course git.
You also need to setup the command-line tool with your 1password account (guide).

Homebrew
brew tap develerik/tools
brew install git-credential-1password
Arch Linux

On Arch Linux the following packages are available at the AUR:

  • git-credential-1password: The latest release
  • git-credential-1password-bin: The latest release (prebuild)
  • git-credential-1password-git: Builds the current main branch
NixOS

With Nix or NixOS, the package is available as git-credential-1password from recent releases of nixpkgs.

From Source
git clone https://github.com/develerik/git-credential-1password.git
cd git-credential-1password
make credential-helper

Move the built binary (inside the bin directory) to somewhere in your PATH.

Usage

git config --global credential.helper '!git-credential-1password'

Support

This project is maintained by @develerik. Please understand that we won't be able to provide individual support via email. We also believe that help is much more valuable if it's shared publicly, so that more people can benefit from it.

Roadmap

  • Maybe an interactive mode for each operation

Contributing

Please read CONTRIBUTING.md for details on our code of conduct.

Maintainers

See also the list of contributors who participated in this project.

Acknowledgements

License

Distributed under the ISC License. See LICENSE for more information.

Documentation

Overview

Package main is the main entrypoint of this tool.

Directories

Path Synopsis
Package cmd provides functions to generate a cli for this tool.
Package cmd provides functions to generate a cli for this tool.
Package git provides functions to utilize the git cli tool.
Package git provides functions to utilize the git cli tool.
Package onepassword provides functions to utilize the 1password cli tool.
Package onepassword provides functions to utilize the 1password cli tool.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL