検索

2.8. hammer auth

download PDF

Foreman 接続をログイン/ログアウトします。

Usage:
    hammer auth [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 login                         Set credentials
 logout                        Wipe your credentials
 status                        Information about current connections

Options:
 -h, --help                    Print help

2.8.1. hammer auth login

資格情報を設定します。

Usage:
    hammer auth login [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 basic                         Provide username and password
 oauth                         Supports for both with/without 2fa

Options:
 -h, --help                    Print help

2.8.1.1. hammer auth login basic

ユーザー名とパスワードを指定します。

Usage:
    hammer auth login basic [OPTIONS]

Options:
 -h, --help                    Print help
 -p, --password PASSWORD       Password to access the remote system
 -u, --username USERNAME       Username to access the remote system

2.8.1.2. hammer auth login oauth

2fa ある場合、ない場合の両方をサポートします。

Usage:
    hammer auth login oauth [OPTIONS]

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

2.8.2. hammer auth logout

資格情報を消去します。

Usage:
    hammer auth logout [OPTIONS]

Options:
 -h, --help                    Print help

2.8.3. hammer auth status

現在の接続に関する情報

Usage:
    hammer auth status [OPTIONS]

Options:
 -h, --help                    Print help
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.