Skip to main content
Answer

Testing environments and api tokens

  • September 11, 2024
  • 3 replies
  • 90 views

Forum|alt.badge.img

If we’re using api tokens, what’s the preferred way to handle different environments like staging and production? I would want to ideally create separate tokens based on what data they can access, but it looks like access control is not that granular. If I create a token with “shared resources” access, it basically gives access to everything that is shared. Should we be creating a different workspace instead?

Best answer by raymond_ching

Hi Kevin,

You’re correct in saying that API tokens have access based on shared/private resources, but we do have workspace-level tokens that can control access to individual workspaces instead of all shared resources. That being said, we also offer developer accounts  if testing needs to be done, and that way the API token can be used for separate instances instead of workspaces, ensuring complete separation between staging and production.

Hope this helps!

3 replies

Forum|alt.badge.img+5
  • Fronteer
  • Answer
  • September 12, 2024

Hi Kevin,

You’re correct in saying that API tokens have access based on shared/private resources, but we do have workspace-level tokens that can control access to individual workspaces instead of all shared resources. That being said, we also offer developer accounts  if testing needs to be done, and that way the API token can be used for separate instances instead of workspaces, ensuring complete separation between staging and production.

Hope this helps!


Forum|alt.badge.img
  • Author
  • Conversationalist
  • September 13, 2024

Hey @raymond_ching,

Ah, I totally missed the developer accounts, so that will definitely be helpful!

Thanks!

Kevin


Forum|alt.badge.img+5

Happy to help, Kevin!