Authentication

Authentication is the ability to identify whether a certain user can use Streamlio Cloud. This section describes how to manage authentication for Streamlio Cloud.

Streamlio Cloud uses token based authentication to authenticate a user. Based on the token validity, the user is allowed to use and perform certain operations. The tokens are managed by the administrator of Streamlio Cloud.

Create a token

An administrator can create a token for another user using the following command

streamlio token create --role=<role>

In order to create a token, the administrator needs to use the admin token for authentication. To create a token for a user with the role eng use the following command.

streamlio token create --role=eng
AccessorID: iamanaccessorid
Token: s.iamatoken

The command displays an accessor id and a token. Accessor id is a reference handle to the token. The generated token is given to user. The user can use this token as a part of their configuration creation or update. Refer to configuration section on how to create and update configurations.

Delete a token

An administrator can revoke a token from the system using the following command

streamlio token delete ACCESSOR-ID

where ACCESSOR-ID is the reference to the token. You can also delete a token directly using the following command

streamlio token delete TOKEN --token

For example, to delete the token s.iamatoken use the following command

streamlio token delete s.iamatoken --token

Once the token is removed, the associated user will no longer be able to use the system.

List tokens

An administrator can revoke a token from the system using the following command

streamlio token list

_____ Copyright 2019 Streamlio, Inc. Apache, Apache BookKeeper, Apache Pulsar and associated open source project names are trademarks of the Apache Software Foundation.