Passport API

The Passport API lets you manage namespaces, resource groups, secret references, and endpoints programmatically, including mapping secrets to them, instead of using the Passport app. You’ll need to create an API key to authenticate your requests.

Namespaces

The Namespaces API creates, lists, updates, and deletes namespaces. Use it to manage the namespaces that group related APIs.

Resource groups

The Resource groups API creates, lists, updates, and deletes resource groups within a namespace. A resource group organizes resources, which are endpoints that Passport Members can request access to.

Secret references

The Secret references API creates, lists, updates, and deletes secret references within a namespace. A secret reference points to a secret in your secret store, so Passport Members never see the underlying credential.

Endpoints

The Endpoints API creates, lists, updates, and deletes the individual API endpoints within a namespace. Each endpoint corresponds to a resource that Passport manages access to, and the secrets you map to it determine which secret references it resolves at request time.

Secret bindings

The Secret bindings API lists and replaces an endpoint’s mapped secrets. This is the association between an endpoint and a secret reference — it’s what you create when you map a secret to a resource in the Passport app.