saysno
Section titled “saysno”Tells you why the cloud said no to your federated OIDC token. Give saysno the token your CI job or pod sent and the trust configuration it was checked against: an AWS IAM role trust policy, or Microsoft Entra federated identity credentials. It runs every check the provider makes, prints each as PASS or FAIL with expected and actual values, and says what to change.
AWS answers only Not authorized to perform sts:AssumeRoleWithWebIdentity, and Entra's AADSTS700213 does not say which part of a flexible credential failed. saysno works offline and sends nothing to AWS or Azure.
Install
Section titled “Install”The quick start goes from install to one refused and one accepted token. Docs site: https://dyokto.github.io/saysno/.
go install github.com/dyokto/saysno@latestBinaries for Linux and macOS are on the releases page. Each comes with an SBOM, a cosign signature and build provenance (gh attestation verify <file> -R dyokto/saysno).
saysno check --policy trust.json token.jwt # AWS trust policysaysno check --policy fic.json token.jwt # Entra federated credential(s)saysno reverse --policy trust.json --issuer github # what does this policy accept?saysno decode token.jwt # claims onlyA GitHub repository created after 2026-07-15 sends sub in the immutable form. A trust policy written for the name form then stops matching, and saysno says so:
FAIL StringLike token.actions.githubusercontent.com:sub expected "repo:octo-org/deploy-app:ref:refs/heads/main" actual "repo:octo-org@1000001/deploy-app@2000002:ref:refs/heads/main"
verdict DENIED no Allow statement matches the token (implicit deny)
likely fix 1. The token's sub uses GitHub's immutable-ID form ... try: repo:octo-org@1000001/deploy-app@2000002:ref:refs/heads/maincheck exits 0 when the token would be allowed, 1 when denied, and 2 when it cannot evaluate.
Documentation
Section titled “Documentation”- docs/quickstart.md: install, then one refused and one accepted token, offline
- docs/usage.md: inputs, flags, running it in GitHub Actions, full example output, and what is not checked
- docs/how-it-decides.md: the AWS and Entra evaluation rules
- SPEC-MAP.md: specifications and deviations
- testdata/golden/: the full output for every fixture
Contributing
Section titled “Contributing”See CONTRIBUTING.md. Commits need a DCO sign-off.
Security
Section titled “Security”Do not open a public issue for a vulnerability. Follow SECURITY.md.
License
Section titled “License”© 2026 The saysno Authors. Licensed under Apache-2.0. Part of dyokto.