Skip to main content

oidc

Overview

Nameoidc
TypeResource
Idgithub.actions.oidc

Fields

NameDatatypeDescription
include_claim_keysarrayArray of unique strings. Each claim key can only contain alphanumeric characters and underscores.
use_defaultbooleanWhether to use the default template or not. If true, the include_claim_keys field is ignored.

Methods

NameAccessible byRequired ParamsDescription
get_custom_oidc_sub_claim_for_repoSELECTowner, repoGets the customization template for an OpenID Connect (OIDC) subject claim.
You must authenticate using an access token with the repo scope to use this
endpoint. GitHub Apps must have the organization_administration:read permission to use this endpoint.
set_custom_oidc_sub_claim_for_repoEXECowner, repo, data__use_defaultSets the customization template and opt-in or opt-out flag for an OpenID Connect (OIDC) subject claim for a repository.
You must authenticate using an access token with the repo scope to use this
endpoint. GitHub Apps must have the actions:write permission to use this endpoint.