Skip to content

api_function_addgithubactionssecretmask

hugoalh edited this page Dec 27, 2023 · 8 revisions

Add-GitHubActionsSecretMask

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

Make a secret get masked from the log.

  • Add-GitHubActionsSecretMask
      [-Value] <String>

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

πŸ‘Ž Deprecated

This is officially deprecated, maybe throw warning in the latest version, and maybe remove in the future version.

(< v2.0.0) [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: True βœ”οΈ
  • Alias:
    • Advance
    • Advanced
    • Chunk
    • Chunks
    • WithChunk

Output

<Void>

Guide

API

Enum

Enum Flag

Function

Function Alias

Clone this wiki locally