Skip to content
GigadriveDocs

OIDC federation

Code in a deployed Function calls the Gigadrive Network API as itself, with no API key for you to create, store, or rotate.

Every Function you deploy to Gigadrive Network gets its own OAuth 2.0 credential. Code running inside it calls the API as itself, so there is no key for you to create in a dashboard, paste into an environment variable, and remember to rotate.

The platform mints the credential while the deployment is being provisioned, hands it to the Function as environment variables, and deletes it when the deployment's Functions go away. It carries seven scopes: enough to read and write storage objects, mint a sticky session URL, and use the runtime cache. Nothing that changes your infrastructure.

Inside a Function, new GigadriveClient() takes no arguments and works.