2.8. hammer auth
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
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
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
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
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