Trusted issuers
Every issuer the instance trusts (at most 50). Needs sys:settings:read on the instance root.
x-pontive-instance-id<token>Instance ID for the request
page?integerPage number
limit?integerItems per page, 1 to 100
OK
application/json- response
data?array<>object?stringpagination?Pagination is the page answered (api-route-review D9).
curl -X GET 'https://api.us.pontive.com/v1/authn/trusted-issuers'{ "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 }}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.
x-pontive-instance-id<token>Instance ID for the request
Issuer
application/json- body
Issuer
allow_reuse?booleanAllowReuse 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?booleanEnabled defaults to true.
issuer?stringIssuer 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?stringJWKSURI is optional: omitted, it is read from the issuer's OpenID discovery document ({issuer}/.well-known/openid-configuration).
max_token_lifetime_seconds?integerMaxTokenLifetimeSeconds defaults to 3600; 60 to 86400.
name*stringCreated
application/json- response
allow_reuse?booleanAllowReuse 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?stringcross_app_access?CrossAppAccess, when present, replaces the organization link; one with an empty organization_id removes it.
enabled?booleanid?stringinstance_id?stringissuer?stringIssuer is the iss value, matched exactly.
jwks_uri?stringJWKSURI is where the issuer's signing keys are fetched from.
max_token_lifetime_seconds?integerMaxTokenLifetimeSeconds is how far ahead an assertion's exp may be, and how long after its iat: 60 to 86400.
name?stringobject?stringupdated_at?stringcurl -X POST 'https://api.us.pontive.com/v1/authn/trusted-issuers' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'{ "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"}Needs sys:settings:read on the instance root.
x-pontive-instance-id<token>Instance ID for the request
trusted_issuer_id*stringTrusted issuer ID (tis_)
OK
application/json- response
allow_reuse?booleanAllowReuse 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?stringcross_app_access?CrossAppAccess, when present, replaces the organization link; one with an empty organization_id removes it.
enabled?booleanid?stringinstance_id?stringissuer?stringIssuer is the iss value, matched exactly.
jwks_uri?stringJWKSURI is where the issuer's signing keys are fetched from.
max_token_lifetime_seconds?integerMaxTokenLifetimeSeconds is how far ahead an assertion's exp may be, and how long after its iat: 60 to 86400.
name?stringobject?stringupdated_at?stringcurl -X GET 'https://api.us.pontive.com/v1/authn/trusted-issuers/string'{ "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"}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.
x-pontive-instance-id<token>Instance ID for the request
trusted_issuer_id*stringTrusted issuer ID (tis_)
Changes
application/json- body
Changes
allow_reuse?booleanAllowReuse 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?booleanEnabled false refuses every assertion the issuer signs at once.
jwks_uri?stringJWKSURI set to "" reads it again from the issuer's discovery document.
max_token_lifetime_seconds?integerMaxTokenLifetimeSeconds, 60 to 86400.
name?stringOK
application/json- response
allow_reuse?booleanAllowReuse 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?stringcross_app_access?CrossAppAccess, when present, replaces the organization link; one with an empty organization_id removes it.
enabled?booleanid?stringinstance_id?stringissuer?stringIssuer is the iss value, matched exactly.
jwks_uri?stringJWKSURI is where the issuer's signing keys are fetched from.
max_token_lifetime_seconds?integerMaxTokenLifetimeSeconds is how far ahead an assertion's exp may be, and how long after its iat: 60 to 86400.
name?stringobject?stringupdated_at?stringcurl -X PATCH 'https://api.us.pontive.com/v1/authn/trusted-issuers/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "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"}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.
x-pontive-instance-id<token>Instance ID for the request
trusted_issuer_id*stringTrusted issuer ID (tis_)
No Content
curl -X DELETE 'https://api.us.pontive.com/v1/authn/trusted-issuers/string'