Class Askpass

java.lang.Object
io.github.jbastgen.stemma.git.api.Askpass

public final class Askpass extends Object
The text of the small script that hands credentials to git and ssh. They call it with a prompt as its only argument and read the answer from its output. A prompt that starts with "Username" is answered with $STEMMA_GIT_USERNAME, every other (a password, a token, the passphrase of a key) with $STEMMA_GIT_PASSWORD. The secrets live in the environment of the one git process, not in the script.
  • Method Details

    • fileName

      public static String fileName()
      File name of the script for the current operating system.
    • script

      public static String script()
      The script for the current operating system.