Skip to main content

tokens

Token commands for Datalayer CLI.

def list_tokens() -> None

List all tokens.

def list_tokens_alias() -> None

List all tokens (alias for list).

def create_token(name: str = <typer.models.ArgumentInfo object at 0x7faa78f4d490>, description: str = <typer.models.ArgumentInfo object at 0x7faa78f4e210>, expiration_date: Optional[int] = <typer.models.OptionInfo object at 0x7faa78f4ccd0>, token_type: str = <typer.models.OptionInfo object at 0x7faa78f4fb50>) -> None

Create a new token.

def delete_token(uid: str = <typer.models.ArgumentInfo object at 0x7faa78f4ca10>) -> None

Delete a token.

def tokens_list() -> None

List all tokens (root command).

def tokens_ls() -> None

List all tokens (root command alias).