Help Center/ Optical Character Recognition/ FAQs/ Token-based Authentication/ What Are the Username, Domain Name, and Project Name in the Token Message Body?
Updated on 2024-05-11 GMT+08:00

What Are the Username, Domain Name, and Project Name in the Token Message Body?

username indicates the name of the user, and domainname indicates the name of the account to which the user belongs. If the token is obtained by an account, user name and domain name are the same. If the token is obtained by an IAM user (multiple IAM users can be created under an account), user name is a real-world username and is different from domain name.

The project name can be set to cn-north-4. For details about how to obtain a project name, see Obtaining the Username, User ID, Project Name, and Project ID.