## zowe › endevor-bridge-for-git › create › local-hook-token

Generate a new local hook token for Endevor Bridge for Git.

#### Usage

zowe endevor-bridge-for-git create local-hook-token [options]

#### Endevor Bridge for Git connection options (you can also use an 'ebg' profile)

- `--protocol` | `--prot` (string)

  - Endevor Bridge for Git SCM protocol.

    Default: https

    Default value: https
    Allowed values: http, https

- `--host` | `-H` (string)

  - Endevor Bridge for Git hostname.

- `--port` | `-P` (number)

  - Endevor Bridge for Git port.

- `--user` | `-u` (string)

  - Endevor Bridge for Git username (your git username).

- `--token` | `-t` (string)

  - Git personal access token (Obtain the token from your Git Enterprise Server).

- `--reject-unauthorized` | `--ru` (boolean)

  - Reject self-signed certificates.

    Default: false

- `--ebg-base-path` (string)

  - The Endevor Bridge for Git Rest API base path.

#### Profile Options

- `--ebg-profile` | `--ebg-p` (string)

  - The name of a (ebg) profile to load for this command execution.

- `--base-profile` | `--base-p` (string)

  - The name of a (base) profile to load for this command execution.

#### Base Connection Options

- `--password` | `--pass` | `--pw` (string)

  - Password to authenticate to service on the mainframe.

- `--token-type` | `--tt` (string)

  - The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.

- `--token-value` | `--tv` (string)

  - The value of the token to pass to the API.

- `--cert-file` (local file path)

  - The file path to a certificate file to use for authentication.

    Note: The CLI does not support certificate files that require a password. For more information, search Troubleshooting PEM Certificates in Zowe Docs.

- `--cert-key-file` (local file path)

  - The file path to a certificate key file to use for authentication

#### Examples

- Generate a new local hook token using the default EBG profile:

  - `zowe endevor-bridge-for-git create local-hook-token`

- Overwrite an existing local hook token using the default EBG profile:

  - `zowe endevor-bridge-for-git create local-hook-token --overwrite`