jx step git credentials

list of jx commands

jx step git credentials

Creates the Git credentials file for the current pipeline

Synopsis

This pipeline step generates a Git credentials file for the current Git provider secrets

jx step git credentials [flags]

Examples

  # generate the Git credentials file in the canonical location
  jx step git credentials
  
  # generate the Git credentials to a output file
  jx step git credentials -o /tmp/mycreds
  
  # respond to a gitcredentials request
  jx step git credentials --credential-helper

Options

      --credential-helper           respond to a gitcredentials request
  -s, --credentials-secret string   The secret name to read the credentials from
      --git-kind string             The git kind. e.g. github, bitbucketserver etc
  -g, --github-app-owner string     Deprecated - The owner (organisation or user name) if using GitHub App based tokens
  -h, --help                        help for credentials
  -o, --output string               The output file name
  -r, --repo-owner string           The owner (organisation or user name) if using GitHub App based tokens

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input
      --verbose      Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace

SEE ALSO

Auto generated by spf13/cobra on 2-Sep-2020