Create secret-sanitization.yaml
+30 · 1 file changed
-
secrets/secret-sanitization.yaml+30 −0
@@ -0,0 +1,30 @@ +pipeline: + name: Print secret + identifier: Print_secret + projectIdentifier: default_project + orgIdentifier: default + tags: {} + stages: + - stage: + name: print secret + identifier: print_secret + description: "" + type: Custom + spec: + execution: + steps: + - step: + type: ShellScript + name: ShellScript_1 + identifier: ShellScript_1 + spec: + shell: Bash + onDelegate: true + source: + type: Inline + spec: + script: "echo \"text secret is: \" <+secrets.getValue(\"docsecret\")>" + environmentVariables: [] + outputVariables: [] + timeout: 10m + tags: {}