-1

Currently I'm working with Prefect and learning about it. I saw in the documentation that it's possible to assign and create different roles within Prefect Cloud for the necesarry access control. Now I want to know if it's possible to assign and create these roles via another way other than on the Prefect UI. Is this for example possible via Terraform, config files, API, etc.?

Can someone answer this question, would help me out a lot!

Thanks in advance for taking the time!

Cheers!

larsje99
  • 1
  • 1
  • Your question is ambiguous. Ask if it is possible with a specific technology. – possum May 15 '23 at 11:03
  • @possum Well is it possible with Terraform? Because I'm not able to find anything about a Terraform deployment for Prefect :/ – larsje99 May 15 '23 at 11:13

1 Answers1

0

Yes, with Prefect Cloud you can use the REST API to create and interact with roles. See REST API details in the docs.

Then the API docs themselves (from Redocly) are also available.

Note that you will need to be part of a Cloud organization to take advantage of roles. You can read more about roles here.

See the screenshot below.

enter image description here

jeffhale
  • 3,759
  • 7
  • 40
  • 56