Skip to main content

tokens

Token commands for Datalayer CLI.

def tokens_callback(ctx: typer.models.Context) -> None

Token management commands.

def list_tokens(token: Optional[str] = <typer.models.OptionInfo object at 0x7f0f78b84f50>) -> None

List all tokens.

def list_tokens_alias(token: Optional[str] = <typer.models.OptionInfo object at 0x7f0f78b86a50>) -> None

List all tokens (alias for list).

def create_token(name: str = <typer.models.ArgumentInfo object at 0x7f0f78b85550>, description: str = <typer.models.ArgumentInfo object at 0x7f0f78b68610>, expiration_date: Optional[int] = <typer.models.OptionInfo object at 0x7f0f78bafa50>, token_type: str = <typer.models.OptionInfo object at 0x7f0f78b85690>, token: Optional[str] = <typer.models.OptionInfo object at 0x7f0f78b863d0>) -> None

Create a new token.

def delete_token(uid: str = <typer.models.ArgumentInfo object at 0x7f0f78b85710>, token: Optional[str] = <typer.models.OptionInfo object at 0x7f0f78b87310>) -> None

Delete a token.

def tokens_list(token: Optional[str] = <typer.models.OptionInfo object at 0x7f0f78b87710>) -> None

List all tokens (root command).

def tokens_ls(token: Optional[str] = <typer.models.OptionInfo object at 0x7f0f78b844d0>) -> None

List all tokens (root command alias).