kind: pipeline type: docker name: secret-test steps: - name: echo-secret image: alpine:latest settings: STAGING_SSH_KEY: from_secret: STAGING_SSH_KEY commands: - | echo "START SECRET" echo "$STAGING_SSH_KEY" | wc -c echo "$STAGING_SSH_KEY" | head -c 64 echo "END SECRET" when: event: [push, manual] branch: [master]