Examples of using the Common Fate API:
To run this locally, follow the instructions below:
- Copy
.env.exampleto.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 example-user@example.comRun the example:
go run main.go -user example-user@example.com -group-id GroupID