Este conteúdo não está disponível no idioma selecionado.

Chapter 10. auth


Foreman connection login/logout

Usage

# hammer auth [OPTIONS] SUBCOMMAND [ARG] ...
Copy to Clipboard Toggle word wrap

Options

  • -h, --help – Print help

10.1. auth login

Set credentials

Usage

# hammer auth login [OPTIONS] SUBCOMMAND [ARG] ...
Copy to Clipboard Toggle word wrap

Options

  • -h, --help – Print help

10.1.1. auth login basic

provide username and password

Usage

# hammer auth login basic [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • -h, --help – Print help
  • -p, --password VALUE – Password to access the remote system
  • -u, --username VALUE – Username to access the remote system

10.1.2. auth login basic-external

Authenticate against external source (IPA/PAM) with credentials

Usage

# hammer auth login basic-external [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • -h, --help – Print help
  • -p, --password VALUE – Password to access the remote system
  • -u, --username VALUE – Username to access the remote system

10.1.3. auth login negotiate

negotiate the login credentials from the auth ticket (Kerberos)

Usage

# hammer auth login negotiate [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • -h, --help – Print help

10.1.4. auth login oauth

supports for both with/without 2fa

Usage

# hammer auth login oauth [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • -a, --oidc-authorization-endpoint VALUE Openidc provider URL which issues authentication code (two factor only)
  • -c, --oidc-client-id VALUE – Client id used in the Openidc provider
  • -f, --two-factor – Authenticate with two factor
  • -h, --help – Print help
  • -p, --password VALUE – Password to access the remote system
  • -r, --oidc-redirect-uri VALUE – Redirect URI for the authentication code grant flow
  • -t, --oidc-token-endpoint VALUE – Openidc provider URL which issues access token
  • -u, --username VALUE – Username to access the remote system

10.2. auth logout

Wipe your credentials

Usage

# hammer auth logout [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • -h, --help – Print help

10.3. auth status

Information about current connections

Usage

# hammer auth status [OPTIONS]
Copy to Clipboard Toggle word wrap

Options

  • -h, --help – Print help
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat