Software
credentials

credentials

Tools for Managing SSH and Git Credentials

R

The credentials package provides tools for managing SSH and Git credentials in R, interfacing with the git-credential utility for HTTPS authentication and providing functions to find or generate SSH keys. It helps users set up local git installations and provides a backend for git/ssh client libraries to authenticate with existing credentials.

The package solves the problem of securely managing authentication credentials without hardcoding secrets in plain text. It can automatically populate the GITHUB_PAT environment variable from the native credential store, prompt users for credentials when needed, and help locate or generate appropriate SSH keys for GitHub and other services. The package supports both HTTPS and SSH authentication workflows, making it useful for developers who need to programmatically access git repositories or integrate authentication into R packages.

Contributors