cloudarq-issuers
A census of the OIDC issuers a cloud provider will federate to for workload identity — GitHub Actions, GitLab, CircleCI, HCP Terraform, Kubernetes and 39 others, 44 entries in all — with the fields a policy evaluator needs.
Apache-2.0. No dependencies, and the package makes no network call.
pip install cloudarq-issuers
Why
Evaluating a cloud trust policy correctly means knowing things about the issuer that are not in the policy: what its subject looks like, which claims it emits, whether it is shared between every customer of that vendor, and who can get a token from it at all. That knowledge is spread across each vendor's own documentation. This census collects it in one machine-readable file, with the vendor's sentence beside each value it rests on.
Four fields that carry most of the weight
aud_controlled_by — who picks the audience
aud reads like a boundary. On 17 of 44 issuers it is not one, because the workload
requesting the token chooses it. From GitHub's own documentation: "You can customize values
for audience claims." So any repository on GitHub can request a token carrying
aud: sts.amazonaws.com, and a trust policy leaning on aud alone has trusted all of them.
from cloudarq_issuers import audience_is_boundary
audience_is_boundary("token.actions.githubusercontent.com") # False
audience_is_boundary("login.microsoftonline.com") # True
audience_is_boundary("nobody.surveyed.this") # None <- not False
vendor_example_verdict — what the vendor's own example admits
A trust policy copied from a vendor's documented example admits what the example admits.
CircleCI's AWS example carries no sub condition at all. Google's recommended attribute condition,
assertion.repository_owner=='ORGANIZATION', admits every repository in the organisation.
control_test — what a bogus tenant returns
Two UUIDs invented at random each returned a complete, well-formed AWS discovery document
echoing the invented UUID back as its own issuer. Only the JWKS refused them.
A discovery document is not proof a tenant exists. Only the JWKS is.
immutable_id_claims — names, or identifiers
29 of 44 entries have none, so every subject written against them is a recyclable name. Kubernetes is the sharp case: delete a service account, recreate one with the same name in the same namespace, and it silently re-inherits every role that trusted it.
Who can hold a token
Since 0.2.0 the census records, for the issuers it has researched, the facts that decide who can get a token an issuer mints, each resting on the vendor's own sentences kept beside it: the page, the sentence verbatim, and the date it was read.
anonymous_tokens: whether the issuer mints tokens to people with no account anywhere. Amazon Cognito identity pools do, in a pool that allows guests.tenancy_claimsandnot_tenancy: the claims that name a tenant (an owner, a repository or an enterprise), each with itskind,nameorid; and the claims that look like tenants and are never read as naming one, such as GitHub'sjob_workflow_ref, which names the called workflow, and GitHub'senterprise, which no sentence shows to name one enterprise.subject_forms: every documented form ofsubwith a tenant at its head, as a leading literal and the owner's parts, each with the delimiter after it;never_pinlists the literals whose subjects name no tenant.owner_charsetandnames_unique_regardless_of_case: the characters an owner name can hold, and whether names that differ only in case are one owner.matchandtenant_membership: for an issuer whose URL names its tenant, how to read it, and whether the tenant's owner controls who obtains its tokens. Six of the nine patterns record that it does, the three clusters on a chain of Kubernetes' and each platform's sentences; Spacelift's, Bitbucket Pipelines' and Microsoft Entra ID's readunverified.built_in: the providers AWS STS accepts with no identity provider in the account.aws_condition_keys: the condition keys AWS documents for the issuer, each with theclaimAWS's table says AWS reads it from, which is not always the key's own name (oaudreadsaud), and afallback_claimwhere AWS reads another claim when the token sets none (audreadsazp, oraud). GitHub's tab hasrepository_owner_idand norepository_owner. Google'sgoogle/organization_numberhas noclaim, only AWS's spelling intable_claim: Google's reference prints the number inside agoogleclaim, and no page says which AWS reads. AWS does not document what a condition on a key it does not list tests; read as unread, such a condition never pins and never narrows, whichever it tests. Each key says whether it ismultivalued:amris, on AWS's sentence "The key is multivalued, meaning that you test it in a policy using condition set operators.", since a signed-in user'samrholdsauthenticatedand the login provider; every other key readsunverified.multi_valued_claims: the claims the issuer's tokens may carry with several values, each on the sentences that say so. The EKS, AKS and GKE cluster issuers, AWS's outbound tokens and Bitbucket Pipelines recordaud: Kubernetes says of a service account token's audience "May be repeated to request a token valid for multiple audiences.", AWS'sGetWebIdentityTokentakes an array of up to ten, and a pipeline declares a list, "Maximum of 10 audiences allowed." A claim not listed is not thereby one value.accounts: the platform whose accounts hold the issuer's tenants, as the vendor names it, and, for GitHub Actions, the namespace a consumer declares its owners under,github.researched: whether this release researched the entry at all.
unverified never means absent
Sixteen entries were fetched live against the public .well-known endpoint, each on the
date in its verified_at. Everything else says unverified — nobody confirmed it, which is
a different claim from "there is nothing there". No field is inferred from another field,
and where an older value rests on a vendor's example rather than a sentence, its note says
so.
In a tenancy field, unverified means exactly that no vendor sentence establishes the value
in this release, whatever the reason, and every reader answers it the cautious way: an issuer
may mint tokens to people with no account, no claim or sub prefix pins a tenant, any
character may occur in an owner name, names compare exactly, a condition key or a claim may
hold several values, and a tenant is not known to control who joins it, and its name may
pass to someone else.
The API keeps that distinction. audience_is_boundary returns None, never False, for
anything unconfirmed, because a caller that reads an unknown as a boundary has widened its
own trust without noticing.
API
import cloudarq_issuers as ci
ci.CENSUS_DATE # "2026-09-13"
ci.issuers() # every entry, as plain dicts
ci.get("gitlab.com") # one entry by host, or None if unsurveyed
ci.multi_tenant_hosts() # frozenset[str] -- issuers shared across a vendor's tenants
ci.audience_is_boundary(host) # True | False | None
ci.subjects_are_recyclable(host)
ci.host_of("https://gitlab.com/x") # "gitlab.com"
entry, tenant = ci.match("https://oidc.eks.us-east-1.amazonaws.com/id/EXAMPLED539D4633E53DE1B71EXAMPLE")
ci.match("https://login.microsoftonline.com/common/v2.0") # None: common is not a tenant
ci.tenancy(entry) # the values a classifier reads, nothing unverified
anonymous, known = ci.issues_anonymous_tokens(entry)
controlled, known = ci.controlled_tenant(entry, tenant)
recyclable, known = ci.tenant_is_recyclable(entry)
without_case, known = ci.names_compare_without_case(entry)
gh = ci.get("token.actions.githubusercontent.com")
ci.claim_is_recyclable(gh, "enterprise_id") # (True, False): no sentence says it cannot pass on
ci.aws_maps_condition_key(gh, "repository_owner") # (False, True): AWS's GitHub tab has no such key
ci.aws_condition_key(gh, "oaud") # {"key": "oaud", "claim": "aud"}: AWS reads oaud from aud
ci.aws_condition_key_is_multivalued(gh, "amr") # (True, True): AWS documents amr as multivalued
ci.aws_condition_key_is_multivalued(gh, "oaud") # (True, False): not known, so it may hold several
ci.claim_is_multi_valued(gh, "aud") # (True, False): not known, so it may carry several
ci.claim_is_multi_valued(ci.get("api.bitbucket.org"), "aud") # (True, True): a pipeline declares a list
ci.owner_name_may_contain(entry, "/") # True when nothing is recorded
issuers, get and match hand out copies: edit an entry however deep and the next
answer is still the census's. Hosts compare without ASCII case and no other, so a
look-alike such as one spelled with the Kelvin sign is not a census host.
match reads an issuer URL's path as well as its host, and returns the entry and the tenant
the URL names, or None for an issuer nobody surveyed: never a sign that it is safe. Each
reader returns an Answer, a (value, known) pair; when known is false the value is the
cautious one, and an Answer refuses to be read as true or false, so an unknown cannot pass
for an answer by accident.
multi_tenant_hosts() is a drop-in for a hard-coded set of the same shape. A host missing
from it is not thereby known to identify a tenant.
Also available as a Go module
go get github.com/CloudArq-net/issuers
Same data, same source of truth, and the same answers: the Go and Python packages are tested against one file of what each reader says about every entry. The YAML is authoritative and carries the comments; a JSON built from it is what both packages embed, which is why neither needs a YAML parser at runtime and neither has a dependency.
Source, contributing, and how it stays current
github.com/CloudArq-net/issuers
A scheduled job re-fetches each discovery document the census records as fetched at a fixed
URL, and its JWKS, and opens an issue when one has moved, so drift is visible rather than
silent. Issuers move: Microsoft's documentation says Azure DevOps's issuer,
https://vstoken.dev.azure.com, "retires on July 1, 2027" (read 2026-09-27), and AWS became
an issuer in its own right at <uuid>.tokens.sts.global.api.aws — sts.amazonaws.com is not
one and returns 400 saying so.
An entry with discovery_status: ok must be reproducible: paste the curl and its output in
the pull request. Anything else is unverified, and that is a perfectly good state for an
entry to be in. A tenancy value other than unverified needs the vendor's sentence behind it.
Issues are welcome, and pull requests are accepted under Apache-2.0.
A value that could make a consumer trust more than it should can be reported privately, through GitHub's private vulnerability reporting on the repository or to support@cloudarq.net.
Licence
Apache-2.0 (LICENSE). The census quotes sentences from vendors' documentation; those
sentences are their publishers' text, and NOTICE names each publisher and the licence it
states for its pages. Both files ship in the package.
Metadata
Release files for cloudarq-issuers 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cloudarq_issuers-0.2.0.tar.gz | 83.3 kB | With provenance | Details for cloudarq_issuers-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cloudarq_issuers-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for cloudarq_issuers-0.2.0-py3-none-any.whl |
Total release size: 146.2 kB
Release files / cloudarq_issuers-0.2.0.tar.gz
| Download URL | cloudarq_issuers-0.2.0.tar.gz |
|---|---|
| Size | 83.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b90905ce3fc9562ed1f6a6e319b9d43bde33b02cde0645b318c8662e7cf47a96
|
|
BLAKE2b-256 checksum How to use checksums |
822484820a2400625e8ca119559a0f65e7110bec558a063e4c6294dd1107de58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.
Transparency logRelease files / cloudarq_issuers-0.2.0-py3-none-any.whl
| Download URL | cloudarq_issuers-0.2.0-py3-none-any.whl |
|---|---|
| Size | 62.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ba392b5bee5854c0eedd31e0b199100820c984568e0926811b65bd3d22fe305
|
|
BLAKE2b-256 checksum How to use checksums |
1b0508a015655eea1ae9ab4864d2babb3c0c275e1bac13049b8e96b7754c830e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.
Transparency logSecurity for cloudarq-issuers 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cloudarq_issuers-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.