Skip to content

Programs to keep GPTScript login credentials safe by storing in platform keystores

License

Notifications You must be signed in to change notification settings

gptscript-ai/gptscript-credential-helpers

 
 

Repository files navigation

This is a fork of https://github.com/docker/docker-credential-helpers for use with GPTScript.

Building

1 - Download the source.

$ git clone https://github.com/gptscript-ai/gptscript-credential-helpers.git
$ cd gptscript-credential-helpers

2 - Use make to build the program you want. That will leave an executable in the bin directory inside the repository.

$ make osxkeychain

3 - Put that binary in your $PATH, so GPTScript can find it.

$ cp bin/build/gptscript-credential-osxkeychain /usr/local/bin/

Available programs

  1. osxkeychain: Provides a helper to use the macOS keychain as credentials store.
  2. secretservice: Provides a helper to use the D-Bus secret service as credentials store.
  3. wincred: Provides a helper to use Windows credentials manager as store.
  4. pass: Provides a helper to use pass as credentials store.

Note

pass needs to be configured for gptscript-credential-pass to work properly. It must be initialized with a gpg2 key ID. Make sure your GPG key exists is in gpg2 keyring as pass uses gpg2 instead of the regular gpg.

License

MIT. See LICENSE for more information.

About

Programs to keep GPTScript login credentials safe by storing in platform keystores

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 74.9%
  • C 13.2%
  • Dockerfile 6.0%
  • Makefile 2.6%
  • Shell 2.2%
  • HCL 1.1%