AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。

agentengine auth login

ブラウザのOIDCまたはユーザー名/パスワードを使用してエージェント エンジンで認証します。

認証を行い、ローカルの認証状態を保存します。ブラウザOIDCがデフォルトです。--usernameはユーザー名/パスワードログインを選択し、--from-refresh-tokenはAGENTENGINE_REFRESH_TOKENを交換します。

--password および --password-stdin には --ユーザー名 が必要です。--from-refresh-token は、--ユーザー名、--password、または --password-stdin と組み合わせることはできません。

agentengine auth login [flags]
agentengine auth loginsecret-manager read AGENTENGINE_PASSWORD | agentengine auth login --username user@example.com --password-stdin
--base-url string Agent Engine API base URL (default "https://agentengine.mongodb.com") --callback-port int Pin the local login callback port so an SSH tunnel can be reused across logins (default: random; AGENTENGINE_LOGIN_CALLBACK_PORT also sets this) --from-refresh-token Exchange AGENTENGINE_REFRESH_TOKEN for a fresh login session without browser SSO-h, --help help for login --json Output login result as JSON --no-browser Print the login URL without attempting to open a browser --password-stdin Read the password from stdin (piped or redirected); requires --username --timeout duration Maximum time to wait for browser authentication (default 2m0s) --username string Username for credential-based authentication
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)
このページを評価