Created
November 12, 2024 12:10
-
-
Save Torokun/5815554f09f9d9d9b151ff88d9c30239 to your computer and use it in GitHub Desktop.
azure-pipeline-secret.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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