Skip to main content

tokens

Token commands for Datalayer CLI.

def tokens_callback(ctx: typer.models.Context)

Token management commands.

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

List all tokens.

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

List all tokens (alias for list).

def create_token(name: str = <typer.models.ArgumentInfo object at 0x7f965a6f46d0>, description: str = <typer.models.ArgumentInfo object at 0x7f965a6f6f90>, expiration_date: Optional[int] = <typer.models.OptionInfo object at 0x7f965a6f6c10>, token_type: str = <typer.models.OptionInfo object at 0x7f965a6f7510>, token: Optional[str] = <typer.models.OptionInfo object at 0x7f965a6f70d0>) -> None

Create a new token.

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

Delete a token.

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

List all tokens (root command).

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

List all tokens (root command alias).