Skip to Content
Docs
API referenceManagement API

Trusted issuers

List trusted issuers

GET
/authn/trusted-issuers

Every issuer the instance trusts (at most 50). Needs sys:settings:read on the instance root.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Query Parameters

page?integer

Page number

limit?integer

Items per page, 1 to 100

Response Body

OK

application/json
  1. response
data?array<>
object?string
pagination?

Pagination is the page answered (api-route-review D9).

Example Request
curl -X GET 'https://api.us.pontive.com/v1/authn/trusted-issuers'
Example Response
{  "data": [    {      "allow_reuse": true,      "audiences": [        "string"      ],      "created_at": "string",      "cross_app_access": {        "organization_id": "string",        "sso_app_id": "string",        "sso_provider": "string",        "tenant": "string"      },      "enabled": true,      "id": "string",      "instance_id": "string",      "issuer": "string",      "jwks_uri": "string",      "max_token_lifetime_seconds": 0,      "name": "string",      "object": "string",      "updated_at": "string"    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}

Create trusted issuer

POST
/authn/trusted-issuers

Trust an external issuer to sign client assertions for this instance's service accounts and agents (workload identity federation, pontive-spec 20 B7): a CI provider's OIDC issuer such as GitHub Actions (https://token.actions.githubusercontent.com) or GitLab, a SPIFFE trust domain's JWT issuer, or a Kubernetes cluster's service account issuer. The issuer is an https URL, matched exactly against an assertion's iss. Without a jwks_uri it is read from the issuer's OpenID discovery document, which must name exactly this issuer. audiences (at most 10) are the aud values an assertion may carry; omitted, this instance's issuer and token endpoint. max_token_lifetime_seconds (default 3600, 60 to 86400) caps how far ahead an assertion's exp may be and how long after its iat. allow_reuse (default false) accepts the same token again until it expires, for workloads that reuse one token (Kubernetes projected tokens, cached SPIFFE JWT-SVIDs); false spends each jti, or a token with no jti whole, once. Trusting an issuer authenticates nobody by itself: a federated credential on a service account or agent does. cross_app_access makes the issuer an organization's enterprise IdP (Cross-App Access, pontive-spec 20 C8): it may then sign ID-JAGs for the organization's members, which an app presents with the urn:ietf:params:oauth:grant-type:jwt-bearer grant for a token to a registered API; the ID-JAG's sub is mapped to a user through the named sign-in connection's external identities (sso_app_id, sso_provider: an OpenID Connect sign-in connection whose discovery document is this issuer's), and the user must be a member of the organization. With cross_app_access, issuer may be omitted: it is the one that connection signs in with. At most 50 per instance. Needs sys:settings:manage on the instance root.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Request Body

Issuer

application/json
  1. body

Issuer

allow_reuse?boolean

AllowReuse defaults to false: each token (its jti, or the whole token with none) is accepted once. true accepts it again until it expires.

audiences?array<string>

Audiences, at most 10; omitted, this instance's issuer and token endpoint.

cross_app_access?

CrossAppAccess, when present, replaces the organization link; one with an empty organization_id removes it.

enabled?boolean

Enabled defaults to true.

issuer?string

Issuer is an https URL with no query or fragment, matched exactly against an assertion's iss. Required, unless cross_app_access names a connection: then omitted, it is the issuer that connection signs in with.

jwks_uri?string

JWKSURI is optional: omitted, it is read from the issuer's OpenID discovery document ({issuer}/.well-known/openid-configuration).

max_token_lifetime_seconds?integer

MaxTokenLifetimeSeconds defaults to 3600; 60 to 86400.

name*string

Response Body

Created

application/json
  1. response
allow_reuse?boolean

AllowReuse true accepts the same token again until it expires, each time verified in full (Kubernetes projected tokens, cached SPIFFE JWT-SVIDs); false spends its jti, or a token with no jti whole, once.

audiences?array<string>

Audiences are the aud values an assertion may carry; empty means this instance's issuer and token endpoint.

created_at?string
cross_app_access?

CrossAppAccess, when present, replaces the organization link; one with an empty organization_id removes it.

enabled?boolean
id?string
instance_id?string
issuer?string

Issuer is the iss value, matched exactly.

jwks_uri?string

JWKSURI is where the issuer's signing keys are fetched from.

max_token_lifetime_seconds?integer

MaxTokenLifetimeSeconds is how far ahead an assertion's exp may be, and how long after its iat: 60 to 86400.

name?string
object?string
updated_at?string
Example Request
curl -X POST 'https://api.us.pontive.com/v1/authn/trusted-issuers' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response
{  "allow_reuse": true,  "audiences": [    "string"  ],  "created_at": "string",  "cross_app_access": {    "organization_id": "string",    "sso_app_id": "string",    "sso_provider": "string",    "tenant": "string"  },  "enabled": true,  "id": "string",  "instance_id": "string",  "issuer": "string",  "jwks_uri": "string",  "max_token_lifetime_seconds": 0,  "name": "string",  "object": "string",  "updated_at": "string"}

Get trusted issuer

GET
/authn/trusted-issuers/{trusted_issuer_id}

Needs sys:settings:read on the instance root.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

trusted_issuer_id*string

Trusted issuer ID (tis_)

Response Body

OK

application/json
  1. response
allow_reuse?boolean

AllowReuse true accepts the same token again until it expires, each time verified in full (Kubernetes projected tokens, cached SPIFFE JWT-SVIDs); false spends its jti, or a token with no jti whole, once.

audiences?array<string>

Audiences are the aud values an assertion may carry; empty means this instance's issuer and token endpoint.

created_at?string
cross_app_access?

CrossAppAccess, when present, replaces the organization link; one with an empty organization_id removes it.

enabled?boolean
id?string
instance_id?string
issuer?string

Issuer is the iss value, matched exactly.

jwks_uri?string

JWKSURI is where the issuer's signing keys are fetched from.

max_token_lifetime_seconds?integer

MaxTokenLifetimeSeconds is how far ahead an assertion's exp may be, and how long after its iat: 60 to 86400.

name?string
object?string
updated_at?string
Example Request
curl -X GET 'https://api.us.pontive.com/v1/authn/trusted-issuers/string'
Example Response
{  "allow_reuse": true,  "audiences": [    "string"  ],  "created_at": "string",  "cross_app_access": {    "organization_id": "string",    "sso_app_id": "string",    "sso_provider": "string",    "tenant": "string"  },  "enabled": true,  "id": "string",  "instance_id": "string",  "issuer": "string",  "jwks_uri": "string",  "max_token_lifetime_seconds": 0,  "name": "string",  "object": "string",  "updated_at": "string"}

Update trusted issuer

PATCH
/authn/trusted-issuers/{trusted_issuer_id}

Change the name, jwks_uri, audiences, enabled, allow_reuse, max_token_lifetime_seconds or cross_app_access; an absent field is left as it is. cross_app_access replaces the organization link (Cross-App Access, pontive-spec 20 C8); {"organization_id":""} removes it. jwks_uri "" reads it again from the issuer's discovery document; audiences, when present, replaces the list ([] means this instance's issuer and token endpoint). enabled false refuses every assertion the issuer signs at once. The issuer URL never changes: trust a new one instead. Needs sys:settings:manage on the instance root.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

trusted_issuer_id*string

Trusted issuer ID (tis_)

Request Body

Changes

application/json
  1. body

Changes

allow_reuse?boolean

AllowReuse true accepts the same token again until it expires.

audiences?array<string>

Audiences, when present, replaces the list; [] means this instance's issuer and token endpoint.

cross_app_access?

CrossAppAccess, when present, replaces the organization link; one with an empty organization_id removes it.

enabled?boolean

Enabled false refuses every assertion the issuer signs at once.

jwks_uri?string

JWKSURI set to "" reads it again from the issuer's discovery document.

max_token_lifetime_seconds?integer

MaxTokenLifetimeSeconds, 60 to 86400.

name?string

Response Body

OK

application/json
  1. response
allow_reuse?boolean

AllowReuse true accepts the same token again until it expires, each time verified in full (Kubernetes projected tokens, cached SPIFFE JWT-SVIDs); false spends its jti, or a token with no jti whole, once.

audiences?array<string>

Audiences are the aud values an assertion may carry; empty means this instance's issuer and token endpoint.

created_at?string
cross_app_access?

CrossAppAccess, when present, replaces the organization link; one with an empty organization_id removes it.

enabled?boolean
id?string
instance_id?string
issuer?string

Issuer is the iss value, matched exactly.

jwks_uri?string

JWKSURI is where the issuer's signing keys are fetched from.

max_token_lifetime_seconds?integer

MaxTokenLifetimeSeconds is how far ahead an assertion's exp may be, and how long after its iat: 60 to 86400.

name?string
object?string
updated_at?string
Example Request
curl -X PATCH 'https://api.us.pontive.com/v1/authn/trusted-issuers/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "allow_reuse": true,  "audiences": [    "string"  ],  "created_at": "string",  "cross_app_access": {    "organization_id": "string",    "sso_app_id": "string",    "sso_provider": "string",    "tenant": "string"  },  "enabled": true,  "id": "string",  "instance_id": "string",  "issuer": "string",  "jwks_uri": "string",  "max_token_lifetime_seconds": 0,  "name": "string",  "object": "string",  "updated_at": "string"}

Delete trusted issuer

DELETE
/authn/trusted-issuers/{trusted_issuer_id}

Stop trusting an issuer. Refused while federated credentials name it: delete them first, or disable the issuer instead. Needs sys:settings:manage on the instance root.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

trusted_issuer_id*string

Trusted issuer ID (tis_)

Response Body

No Content

Example Request
curl -X DELETE 'https://api.us.pontive.com/v1/authn/trusted-issuers/string'
Example Response
Empty