OpenAI
Early Access: This integration is provided as an Open Authorization API (OAA) connector package. Contact our support team for more information.
Veza OpenAI OAA Connector
Veza Connector for OpenAI that discovers the Users that are members of an Organization and their assigned roles.
Properties
Entity | Property | Description |
---|---|---|
Org |
| True if Organization is a personal space |
Org |
| Organization ID |
User |
| User's email |
OpenAI Setup
Sign-in to OpenAI Dashboard and Manage Account from the user drop down in the upper right
Under settings note the Organization ID
Generate a new API key or use an existing key
Veza Setup
Generate an API token for your Veza user. For detailed instructions consult the Veza User Guide.
Running the Connector
There are multiple options to run the connector. Instructions are included for running from the command line and building a Docker container.
Command Line
Install the requirements with Python 3.8+:
Export the required environmental variables. Variables not set can be passed via arguments at run time. All parameters can be passed using environment variables if desired. See table below for variable names and descriptions.
Run the connector:
Docker
A Dockerfile
to build a container is included in the repository. Running the container will perform the OpenAI discovery and OAA push then exit. Schedule the container to run on a regular interval.
Build the container.
To run the container, all required parameters must be provided as environment variables.
Application Parameters / Environmental Variables
Parameter | Environmental Variable | Required | Notes |
---|---|---|---|
N/A |
| true | the API token which which to connect to the Veza instance |
|
| true | the url of the Veza instance to which the metadata will be uploaded |
|
| true | Organization ID for OpenAI |
N/A |
| true | API key for OpenAI |
| N/A | false | save a copy of the metadata JSON uploaded to the Veza instance to this directory |
| N/A | false | enable verbose debug logging |
Last updated