Is there a way to limit an Okta token authority?

三世轮回 提交于 2019-12-11 04:27:50

问题


Following these abbreviated steps to generate an Okta token:

  1. Log in to your Developer Console
  2. Navigate to API > Tokens and click Create Token
  3. Give your token a name

works wonderfully, however I'd like to limit the authority of such a token to only affect certain applications or perform only certain operations - is this possible?


回答1:


API Tokens share the same rights as the admin that created them.

If you wanted to create an API Token that had read-only access, for instance, you could follow these steps:

  1. Assign the Read Only admin role to a user (preferably a service account)
  2. Login as that user
  3. Create an API Token as usual

That API Token could now only be used for read only operations. An attempt at a write operation with that API Token would fail.

HTH! (full disclosure: I work for Okta)



来源:https://stackoverflow.com/questions/53690385/is-there-a-way-to-limit-an-okta-token-authority

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!