Skip to content

Instantly share code, notes, and snippets.

@Torokun
Created November 12, 2024 12:10
Show Gist options
  • Save Torokun/5815554f09f9d9d9b151ff88d9c30239 to your computer and use it in GitHub Desktop.
Save Torokun/5815554f09f9d9d9b151ff88d9c30239 to your computer and use it in GitHub Desktop.
azure-pipeline-secret.yaml
parameters:
- name: mySecret
displayName: 'Enter your secret'
type: string
default: ''
values: []
secret: true # このオプションでシークレットとして扱われます
steps:
- task: Bash@3
inputs:
targetType: 'inline'
script: |
echo "シークレットの値は入力されました"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment