EVOLUTION-MANAGER
Edit File: http_credentials.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Load and store git HTTPS credentials</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for http_credentials {credentials}"><tr><td>http_credentials {credentials}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Load and store git HTTPS credentials</h2> <h3>Description</h3> <p>This requires you have the <code>git</code> command line program installed.The <a href="http_credentials.html">git_credential_ask</a> function looks up a suitable username/password from the <a href="https://git-scm.com/docs/gitcredentials"><code>git-credential</code> store</a>. If none are available it will prompt the user for credentials which may be saved the store. On subsequent calls for the same URL, the function will then return the stored credentials without prompting the user. </p> <h3>Usage</h3> <pre> git_credential_ask(url = "https://github.com", save = TRUE, verbose = TRUE) git_credential_update(url = "https://github.com", verbose = TRUE) git_credential_forget(url = "https://github.com", verbose = TRUE) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>url</code></td> <td> <p>target url, possibly including username or path</p> </td></tr> <tr valign="top"><td><code>save</code></td> <td> <p>in case the user is prompted for credentials, attempt to remember them.</p> </td></tr> <tr valign="top"><td><code>verbose</code></td> <td> <p>print errors from <code style="white-space: pre;">git credential</code> to stdout</p> </td></tr> </table> <h3>Details</h3> <p>The appearance and security policy of the credential store depends on your version of git, your operating system, your R frontend and which <a href="credential_helper.html">credential_helper</a> is used. On Windows and MacOS the credentials are stored in the system password manager by default. </p> <p>It should be assumed that reading credentials always involves user interaction. The user may be asked to unlock the system keychain or enter new credentials. In reality, user interaction is usually only required on the first authentication attempt, but the security policy of most credential helpers prevent you from programmatically testing if the credentials are already unlocked. </p> <h3>See Also</h3> <p>Other credentials: <code><a href="ssh_credentials.html">ssh_credentials</a></code> </p> <hr /><div style="text-align: center;">[Package <em>credentials</em> version 1.3.2 <a href="00Index.html">Index</a>]</div> </body></html>