Exam 156-31581 All QuestionsBrowse all questions from this exam
Question 313

How can you grant GAiA API Permissions for a newly created user?

    Correct Answer: D

    To grant Gaia API Permissions for a newly created user, you need to explicitly enable access for that user using the appropriate command in the bash shell. The correct command to use is 'gaia_api access --user <user> --enable true'. This command directly grants the necessary permissions for the user to access the Gaia API.

Discussion
BasselhOption: D

D is correct

lalalianoOption: D

D is correct

BombastOption: D

The account needed to be explicitly granted permission to use the API; it needs to be granted access to access-mechanism API. Run show rba user <user> to check current assignments. Run gaia_api access --user <user> --enable true Run show rba user <user> to recheck current assignments and confirm access-mechanism API has been added.