Examples of using the Common Fate API:
To run this locally, follow the instructions below:
- Copy
.env.example
to.env
. - Add your Common Fate environment variables to
.env
. You'll need to use the Read Only client ID and client secret for the example.
Run the example:
go run main.go -role BreakGlass -account ExampleAccount -user [email protected]
Run the example:
go run main.go -user [email protected] -group-id GroupID