v97

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-31135175384.2 KB
Credential Providers

Create a credential provider

Configure an external credential provider (e.g., 1Password) for automatic credential lookup.

post/org/credential_providers

Request body

provider_type'onepassword' required

Type of credential provider

namestring required

Human-readable name for this provider instance (unique per org)

tokenstring required

Service account token for the provider (e.g., 1Password service account token)

cache_ttl_secondsinteger

How long to cache credential lists (default 300 seconds)

Example request

{
  "provider_type": "onepassword",
  "name": "my-1password",
  "token": "ops_eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
  "cache_ttl_seconds": 300
}

Response

Credential provider created successfully

idstring required

Unique identifier for the credential provider

provider_type'onepassword' required

Type of credential provider

namestring required

Human-readable name for this provider instance

enabledboolean required

Whether the provider is enabled for credential lookups

priorityinteger required

Priority order for credential lookups (lower numbers are checked first)

created_atstring date-time required

When the credential provider was created

updated_atstring date-time required

When the credential provider was last updated

Example response

{
  "id": "credprov_abc123xyz",
  "provider_type": "onepassword",
  "name": "my-1password",
  "enabled": true,
  "created_at": "2025-01-15T10:30:00Z",
  "updated_at": "2025-01-15T10:30:00Z"
}