authn
Authentication commands for Datalayer CLI - Refactored to use Client.
def auth_callback(ctx: typer.models.Context)
Authentication commands.
def login(run_url: Optional[str] = <typer.models.OptionInfo object at 0x7f965ac2c7d0>, iam_url: Optional[str] = <typer.models.OptionInfo object at 0x7f965ac2c6d0>, token: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6cd090>, handle: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6cfc50>, password: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6cc690>, no_browser: bool = <typer.models.OptionInfo object at 0x7f965a6cf8d0>) -> None
Log into a Datalayer server using Client authentication.
Examples
Token authentication::
datalayer login --token YOUR_TOKEN
Credentials authentication::
datalayer login --handle user@example.com --password secret
Browser OAuth (default)::
datalayer login
CLI-only mode::
datalayer login --no-browser
def logout(run_url: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6cf7d0>, iam_url: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6cc2d0>) -> None
Log out from Datalayer server.
def whoami(run_url: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6cfe50>, iam_url: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6cc450>, token: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6cc650>, details: bool = <typer.models.OptionInfo object at 0x7f965a6cf710>) -> None
Show current authenticated user.
def login_root(run_url: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6cc410>, iam_url: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6ce790>, token: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6ccad0>, handle: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6cfd50>, password: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6ce210>, no_browser: bool = <typer.models.OptionInfo object at 0x7f965a6ccb90>) -> None
Log into a Datalayer server.
def logout_root(run_url: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6ce310>, iam_url: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6cd190>) -> None
Log out of Datalayer server.
def whoami_root(run_url: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6cc0d0>, iam_url: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6ce5d0>, token: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6cf690>, details: bool = <typer.models.OptionInfo object at 0x7f965a6cd010>) -> None
Show current authenticated user.