openstack command "openstack token issue" can be used to issue a token. Or you can use keystoneclient python module programmatically.

Andy

From: Rai, Ankush <Ankush.Rai@commscope.com>
Sent: Friday, March 12, 2021 11:18 AM
To: starlingx-discuss@lists.starlingx.io <starlingx-discuss@lists.starlingx.io>
Subject: [Starlingx-discuss] How to generate the keystone token ?
 

[Please note: This e-mail is from an EXTERNAL e-mail address]

Hi,

 

How to generate the keystone token if stx-openstack is not installed in the system?

The token is required in order to access the FaultMgmt Rest API.

 

Thanks,

Ankush