Authentication
To use the CLI, you must log in to verify your identity.
You will be prompted to enter your password. After authentication, you will be issued a JWT. The JWT is valid until the timeout configured by the domain admin. When your JWT expires, you must log in again. You may choose to log out sooner than that by using the logout command.
All Illumina Informatics Platform services require a JSON Web Token (JWT) for authentication.
To generate a token from the CLI, first login using the following command (example assumes a Unix command line):
Enter your password at the interactive prompt, which should return: "Login successful!"
After successfully logging in, create a token with the following command:
The resulting token may then be used to access ICA endpoints. The token provides access to your ICA account and should therefore be kept confidential at all times. Many other options are available for the ica command. Enter ica tokens create -h
for more information.
Projects
To login to a project, use the --project-name
option.
To see available projects, use the projects list
command.
To enter a project after logging in, use the projects enter
command.
Workgroups
It's recommended to use projects instead of workgroups when creating and modifying resources for compatibility with the platform GUI
To login to a workgroup, use the --workgroup-name
option.
To list available workgroups:
To enter a workgroup after logging in, use the workgroups enter
command.
Last updated