Para agentes de IA: hay un índice de documentación disponible en https://www.mongodb.com/es/docs/llms.txt — versiones en markdown de todas las páginas están disponibles agregando .md a cualquier ruta URL.

agentengine auth login

Autenticarse con el motor de agente mediante OIDC del navegador o nombre de usuario/contraseña.

Autenticar y almacenar el estado de autenticación local. Browser OIDC es el por defecto; --username selecciona el inicio de sesión con nombre de usuario y contraseña, y --from-refresh-token intercambia AGENTENGINE_REFRESH_TOKEN.

--password y --password-stdin requieren --nombre de usuario. --from-refresh-token no se puede combinar con --nombre de usuario, --contraseña o --contraseña-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)
Califique esta página