Auth
Identity and access: who you are, and what you’re allowed to do.
Usage:
lightning auth [OPTIONS] COMMAND [ARGS]...Commands
Command |
Description |
|---|---|
Describe what a role is allowed to do. |
|
List the roles in a teamspace and mark which ones you hold. |
|
Show the credential requests send, who it acts as, and what it reaches. |
|
Print the credential requests send. |
|
Show who you are authenticated as. |
lightning auth role
Describe what a role is allowed to do.
ROLE_ID is the id of the role; run lightning auth roles to find it.
Usage:
lightning auth role [OPTIONS] ROLE_IDArguments
Name |
Type |
Required |
Description |
|---|---|---|---|
|
|
yes |
No description provided. |
Options
Option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
|
no |
|
Teamspace the role belongs to, as ‘owner/teamspace’. Falls back to your default teamspace. |
|
— |
no |
— |
Output the role as JSON. |
lightning auth roles
List the roles in a teamspace and mark which ones you hold.
Usage:
lightning auth roles [OPTIONS]Options
Option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
|
no |
|
Teamspace to list roles for, as ‘owner/teamspace’. Falls back to your default teamspace. |
|
— |
no |
— |
Output roles as JSON. |
lightning auth status
Show the credential requests send, who it acts as, and what it reaches.
Usage:
lightning auth status [OPTIONS]lightning auth token
Print the credential requests send. A saved login has at least 30 minutes left.
Usage:
lightning auth token [OPTIONS]lightning auth whoami
Show who you are authenticated as.
Works for both a personal login and a scoped API key. For a scoped key it also reports the org, project and role the key is bound to.
Usage:
lightning auth whoami [OPTIONS]Options
Option |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
— |
no |
— |
Output identity as JSON. |
Was this page helpful?
Thanks for the feedback.