Skip to content

api_function_addgithubactionssecretmask

hugoalh edited this page Mar 2, 2023 · 8 revisions

Add-GitHubActionsSecretMask

  • Type: Function
  • In Version: >= v0.3.0
  • Alias:
    • Add-GitHubActionsMask
    • Add-GitHubActionsSecret

Description

Add-GitHubActionsSecretMask [-Value] <String> [-WithChunks]

Make a secret get masked from the log.

Parameter

Value

<String> A secret that need to get masked from the log.

  • Position: 0
  • Accept Pipeline Input: True βœ”
  • Accept Pipeline Input By Property Name: True βœ”
  • Accept Wildcard Characters: False ❌
  • Alias:
    • Key
    • Secret
    • Token

WithChunks

[Optional] <Switch> Whether to split a secret into chunks to well make a secret get masked from the log.

  • Position: Named
  • Accept Pipeline Input By Property Name:
    • (>= v1.1.0) True βœ”
    • (< v1.1.0) False ❌
  • Alias:
    • (>= v1.1.0) Advance
    • (>= v1.1.0) Advanced
    • Chunk
    • Chunks
    • WithChunk

Output

<Void>

Guide

API

Enum

Enum Flag

Function

Function Alias

Clone this wiki locally