concourse-file-resource
100K+
Resource to put confidential file via payload
filename: string, filename of confidential file in workspacecontent: string, content of confidential fileout command is not available.
checkPrint SHA256 checksum of filename and content on standard output.
inCreate a file called as filename and put it in destination directory.
CAUTION: Any files with the same name in destination directory would be overwritten.
---
resource_types:
- name: file
type: docker-image
source:
repository: quay.io/henry40408/concourse-file-resource
resources:
- name: confidential-file
type: file
source:
filename: id_rsa
content: |
-----BEGIN RSA PRIVATE KEY-----
MIIJKAIBAAKCAgEA0aDJt9E+v38csI3+FeyiHPU8kmeF7HeSXb62cjOoKcpiwq+L
... something very confidential ...
goHZOH8rALOXE7nUZeYh2RbPE+JYdSQvFEJmjh0EEAni3d6KJXOvm0NTiTk=
-----END RSA PRIVATE KEY-----
jobs:
- name: download-private-ssh-key
plan:
- get: confidential-file
# now you can see the file put in confidential-file workspace as id_rsa
MIT
Content type
Image
Digest
Size
4.8 MB
Last updated
about 8 years ago
docker pull blackpearl/concourse-file-resource