cmd
Auth related commands.
Commands invoked by dpteam auth
login(keycloak_token=typer.Option(None, '-wt', '--with-token', help='Keycloak access token'))
Authenticate with Keycloak.
The default authentication mode is a web-based browser flow. After completion, an access token will be stored internally.
Alternatively, use --with-token
to pass in a token on standard input.
You need to be logged in to communicate with backend APIs such as the dapla-team-api.
Source code in dapla_team_cli/auth/cmd.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
|
status(raw_token=typer.Option(False, '--raw-token', '-t', help='Print raw token'))
Show information about the current authentication status.
Source code in dapla_team_cli/auth/cmd.py
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
|