Skip to content

api_function_getgithubactionsopenidconnecttoken

hugoalh edited this page Sep 23, 2023 · 9 revisions

Get-GitHubActionsOpenIdConnectToken

πŸ”˜ NodeJS Wrapper: This dependents and requires NodeJS to invoke.

  • Type: Function
  • In Version: >= v0.4.0
  • Alias:
    • Get-GitHubActionsOidcToken

Interact with the GitHub OpenID Connect (OIDC) provider and get a JSON Web Token (JWT) ID token which would help to get access token from third party cloud providers.

  • Get-GitHubActionsOpenIdConnectToken
      [[-Audience] <String>]

Parameter

Audience

[Optional] <String> Audience.

  • Position: 0
  • Accept Pipeline Input: True βœ”οΈ
  • Accept Pipeline Input By Property Name: True βœ”οΈ
  • Accept Wildcard Characters: False ❌

UseNodeJsWrapper

❌ Removed: This is officially removed, will throw error in the latest version.

(< v1.3.0, v1.3.2) [Optional] <Switch> Whether to use NodeJS wrapper edition instead of PowerShell edition.

  • Position: Named
  • Accept Pipeline Input By Property Name: True βœ”οΈ
  • Alias:
    • NodeJs
    • NodeJsWrapper
    • UseNodeJs

Output

<String> A JSON Web Token (JWT) ID token.

Guide

API

Enum

Enum Flag

Function

Function Alias

Clone this wiki locally