Skip to content

Get-GitHubOidcSubjectClaim

SYNOPSIS

Get the customization template for an OIDC subject claim

SYNTAX

Get the customization template for an OIDC subject claim for an organization (Default)

Get-GitHubOidcSubjectClaim -Owner <string> [-Context <Object>] [<CommonParameters>]

Get the customization template for an OIDC subject claim for a repository

Get-GitHubOidcSubjectClaim -Owner <string> -Repository <string> [-Context <Object>]
 [<CommonParameters>]

ALIASES

This cmdlet has the following aliases, {{Insert list of aliases}}

DESCRIPTION

Gets the customization template for an OpenID Connect (OIDC) subject claim for an organization or repository.

EXAMPLES

EXAMPLE 1

Get-GitHubOidcSubjectClaim -Owner 'PSModule'

Gets the OIDC subject claim customization template for the 'PSModule' organization.

EXAMPLE 2

Get-GitHubOidcSubjectClaim -Owner 'PSModule' -Repository 'GitHub'

Gets the OIDC subject claim customization template for the 'GitHub' repository.

PARAMETERS

-Context

The context to run the command in. Used to get the details for the API call. Can be either a string or a GitHubContext object.

Type: System.Object
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Owner

The account owner of the repository or the organization name. The name is not case sensitive.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases:
- User
- Organization
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-Repository

The name of the repository without the .git extension. The name is not case sensitive.

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Get the customization template for an OIDC subject claim for a repository
  Position: Named
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

{{ Fill in the Description }}

OUTPUTS

System.Management.Automation.PSCustomObject

{{ Fill in the Description }}

System.Management.Automation.PSObject

{{ Fill in the Description }}

NOTES

Get the customization template for an OIDC subject claim for an organization Get the customization template for an OIDC subject claim for a repository