Understanding API Tokens

plastilin

Renowned Member
Oct 9, 2012
109
5
83
Ukraine
I ask for help in understanding how to correctly create and use the API Token. I first create a user and then create a token for that user. A token ID and secret is generated for me. I'm interested in what UUID is in USER @ REALM format! TOKENID = UUID
 
Hey,

basically, the first part (before the !) identifies the user, the seconds part contains the tokenid(name you gave the token) and the tokensecret(or UUID).
The whole thing could look like this:
root@pam!<some_token_id>=e7927fd3-c134-4750-a9c8-a17cf5d508e7
 
What do you mean here, it's saying already the correct thing? The secret is actually a valid UUID and username is the front before the @realm part, so USER@REALM part. If you define that differently in whatever tooling you use like postman (?) here you naturally need to enter whatever you configured.. For example, if I configure the user@realm!tokenid as authid variable then I need to use that as variable, so not sure what this post is implying?
 
Last edited: