Skip to content
Benchmarks

redact-secret · Report

Management API token (SSWS)

00-prefixed 42-character API token sent as Authorization: SSWS; recognized beside the SSWS scheme or a same-line okta keyword.

  • Okta
  • Detectors: okta-api-token
  • Run 2026-10-07
  • Mode published · redact-secret 0.1.0-beta.14
  • Dossier verdictReady
  • Dossier evidence levelT2 · Tool-corroborated
  • Dossier researched2026-09-29
redact-secret#315 (product PR #681) landed on the product main after 0.1.0-beta.6; the pinned published package predates it. OAuth access/ID tokens are JWTs and belong to the jwt family, not this one.

Research record

From credential-evidence snapshot-2026.10.06.4 · records at 77ce761 · schema 1.8.0. It describes the research on the format, not what any scanner or the product does, and not a support status.
  • Review stateDraft, not reviewed
  • Format revision1 · current
  • ResearchResearched
  • Researched2026-09-29

3 events in the review history: 2 observed, 1 reviewed. Latest: observed on 2026-09-29 by automation, project maintainer. Project-maintained review is not independent validation. The family record at this release.

Format

Provider format research from credential-evidence snapshot-2026.10.06.4 · records at 77ce761 · schema 1.8.0.

What it looks like

Descriptive pattern
^00[A-Za-z0-9_-]{40}$

Parts are shown as recorded. Evidence classes belong to the facts below; no class is assigned to a part.

Format facts

Open questions

No open question is recorded for this revision.

Benchmark dossier notes

From the provider dossier, as written. The evidence level above says how well the format is backed; a fact the dossier does not record is not shown.
Shape
literal 00 then 40 characters, 42 in total. Alphabet: TruffleHog and Nosey Parker use [A-Za-z0-9_-]; gitleaks and betterleaks also allow =. Of 52 distinct non-placeholder public candidates, 47 were 42 characters, none contained =, and _ and - were both common. Okta's own migration guide shows an unelided value of 00 + 40 [A-Za-z0-9] (recorded in the benchmarks empirical observations, not in a core thread; the core threads show only the elided example).
Basis
T2. Provider prose shows the SSWS scheme and the leading 00 only (no length, no alphabet), but Okta's own repositories hold three dated, distinct full-length examples, all 00 + 40 alphanumeric: the OIE-upgrade guide, the management OpenAPI spec (2025-01 to 2026-03) and an API-security book page (2019) (redact-secret#1013). A 2019 devforum answer says "always 42 characters" and gives ^00[a-zA-Z0-9\-\_]{40}$; its author's staff status is not confirmed on the forum. Both 2023 items the benchmark ledger records come from one devforum thread (2023-09-21): an Okta team reply, "You should not assume a set structure for Okta's API tokens" (the same reply says there are no plans to change it), and a customer's [A-Za-z0-9-] reading whose own regex admits _. gitleaks' = comes from its generic AlphaNumericExtended helper (PR #1599), not from Okta evidence; no Okta example contains =. GitGuardian records the detector as Prefixed: False, which classifies its detector rather than the tokens. Okta does not appear in GitHub's secret-scanning partner list.
Issuance
UI only (the Okta API cannot create SSWS tokens); a free developer org works. The #694 hands-on checklist (total length, leading 00, alphabet classes, header, checksum) has no recorded result.
Contract in core
detector-families.md; detector added by redact-secret#315. No frozen evidence folder exists for #694.

In this benchmark

Fixture rows on the current run. Counts are for redact-secret in published · redact-secret 0.1.0-beta.14 mode.
Fixtures
40
Left readable
0
Redacted too much
0
False alarms
0

40 fixtures: 16 expect a redaction, 24 must stay quiet. See every row

redact-secret fixture counts by evidence level
Evidence levelFixturesLeft readableToo muchFalse alarms
T2Tool-corroborated32000
T3Project policy8000

Every scanner on the same fixtures

In run order. Counts are what each scanner recorded on this family's fixtures, whichever rules it has; a scanner with no rule for the family has nothing to report on it.

Counts per scanner on this family's fixtures
ScannerFixturesLeft readableToo muchFalse alarms
flare-redactRuntime library · 1.6.1 · Published npm package · secrets-only (pii, generic_assignment disabled) · JavaScript engineNo rule maps to it401600
gitleaksRepository scanner · 8.30.1 · Directory scan · default rules1 rule targets it40603
redact-secretProduct measured here · 0.1.0-beta.14 · Published npm package · default detectors1 detector mapped40000
trufflehogRepository scanner · 3.97.4 · Filesystem scan · verification disabled1 rule targets it401200

Benchmark dossier questions

Things the sources do not settle. They are listed so nobody reads them as settled.
Open caveat
Okta states no grammar in prose and its 2023 staff answer says not to assume a structure; three provider examples agree on 00 + 40. READY-T2 once Q-OK accepts the four bounded dispositions; no issuance is required (an optional check could only close the _ question).

Looks like it, but isn't

Values the dossier records as resembling this credential without being one.
Collisions
00 is not a distinctive prefix; a value is claimed beside the SSWS scheme or a same-line okta keyword. TruffleHog gates on an Okta tenant domain.

Scanner rules for this family

Mapped by hand (reviewed 2026-09-30) from each scanner's pinned rule file, never from what a scanner found on the fixtures.
Peer scanner rules that target this family
ScannerRuleWhat the rule matches
gitleaks · rules 8.30.1okta-access-tokenokta keyword + 00 + 40 characters
trufflehog · rules 3.97.4okta.okta domain + 00 + 40 characters

No rule maps to this family in flare-redact, openredaction.

40 of 40 rows

Fixtures in this family

40 rows, redact-secret's outcome on each. Rows that need a look come first (0), then the rest in corpus order. Choose "Every scanner" to see each scanner's outcome for the same rows.
Fixtures in Management API token (SSWS)
FixtureKind and evidenceredact-secret
okta-api-token-actions-envokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-compose-envokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-curl-sswsokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-envokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-keyword-context-bareokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-keyword-context-bare-twinokta · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
okta-api-token-keyword-context-quotedokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-keyword-context-quoted-twinokta · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
okta-api-token-keyword-context-unicode-crlfokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-keyword-context-unicode-crlf-twinokta · wrong-alphabetMust not flagT2 · Tool-corroborated · twinQuiet
okta-api-token-node-clientokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-raw-requestokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-request-logokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-settings-jsonokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-shell-exportokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-ssws-header-bareokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-ssws-header-quotedokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-ssws-header-unicode-crlfokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-tfvarsokta · documented-format-literalMust redactT2 · Tool-corroboratedRedacted
okta-api-token-actions-secret-referenceokta · templated-referenceMust not flagT3 · Project policyQuiet
okta-api-token-api-token-listing-public-idokta · public-identifierMust not flagT2 · Tool-corroboratedQuiet
okta-api-token-cli-checksum-encoded-valueokta · benign-encoded-valueMust not flagT2 · Tool-corroboratedQuiet
okta-api-token-docs-template-placeholderokta · documentation-placeholderMust not flagT3 · Project policyQuiet
okta-api-token-label-proseokta · benign-lookalikeMust not flagT3 · Project policyQuiet
okta-api-token-maskokta · benign-lookalikeMust not flagT3 · Project policyQuiet
okta-api-token-masked-console-placeholderokta · documentation-placeholderMust not flagT3 · Project policyQuiet
okta-api-token-postman-variable-referenceokta · templated-referenceMust not flagT3 · Project policyQuiet
okta-api-token-prefix-onlyokta · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
okta-api-token-public-idokta · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
okta-api-token-referenceokta · benign-lookalikeMust not flagT3 · Project policyQuiet
okta-api-token-rotation-note-proseokta · prose-mentionMust not flagT3 · Project policyQuiet
okta-api-token-short-bodyokta · benign-lookalikeMust not flagT2 · Tool-corroboratedQuiet
okta-api-token-short-token-near-missokta · format-near-missMust not flagT2 · Tool-corroboratedQuiet
okta-api-token-ssws-header-bare-twinokta · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
okta-api-token-ssws-header-prefix-bare-twinokta · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
okta-api-token-ssws-header-prefix-quoted-twinokta · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
okta-api-token-ssws-header-prefix-unicode-crlf-twinokta · prefix-near-missMust not flagT2 · Tool-corroborated · twinQuiet
okta-api-token-ssws-header-quoted-twinokta · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
okta-api-token-ssws-header-unicode-crlf-twinokta · wrong-lengthMust not flagT2 · Tool-corroborated · twinQuiet
okta-api-token-user-and-group-ids-public-idokta · public-identifierMust not flagT2 · Tool-corroboratedQuiet

Sources

Researched 2026-09-29.

Documentation and code

  • developer.okta.com/docs/guides/create-an-api-token/main/
  • github.com/okta/okta-developer-docs/blob/ae696b9f70cd1bca21f640f4ad3bbdff461279ff/packages/%40okta/vuepress-site/docs/guides/oie-upgrade-api-sdk-to-oie-sdk/main/index.md
  • github.com/okta/okta-management-openapi-spec/blob/74fcd17fad54332caee96ebbb11fd7f203b03e4f/dist/current/management-dev-noEnums-minimal.yaml#L60548
  • github.com/okta/okta-developer-docs/blob/8aff3329cb8e651d2182ce6dcd5ebd303b42a690/packages/@okta/vuepress-site/books/api-security/api-keys/other-options/index.md#L18

Research log