Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs]: generate Command - Unclear how to set the "file" value for secrets from file #84

Open
1 task done
silversoul93 opened this issue Jul 6, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation needs triage This issue or pull request needs to be categorized

Comments

@silversoul93
Copy link

Documentation Revision

Hi guys,
I read on this page I can read the secret content from literal or from file.
Regarding the from file case, I am not sure about what value should I use for the file property.

Are the following examples right?

secrets:
  - name: "my-secret-value-from-local-file"
    when: "always"
    data:
      - from: "file"
        file: ./path-to-file-in-same-repository

  - name: "my-secret-value-from-file-on-git-provider"
    when: "always"
    data:
      - from: "file"
        file: /path/to/same/git/provider/repository/file

Is there any other use case I am missing?

Code of Conduct

  • I agree to follow this project’s Code of Conduct
@silversoul93 silversoul93 added documentation Improvements or additions to documentation needs triage This issue or pull request needs to be categorized labels Jul 6, 2023
@silversoul93
Copy link
Author

Hi, any update about this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation needs triage This issue or pull request needs to be categorized
Projects
None yet
Development

No branches or pull requests

1 participant