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

Substitutions using file content #333

Open
davlee1972 opened this issue Jan 29, 2025 · 2 comments
Open

Substitutions using file content #333

davlee1972 opened this issue Jan 29, 2025 · 2 comments

Comments

@davlee1972
Copy link

A variable substitution can be a token or a environmental variable.

Can we also check if the variable is a file and read the contents of the file?

Example:

rsakey: ${"/home/my_login/.ssh/rsa_key.p8"}

@davlee1972
Copy link
Author

davlee1972 commented Jan 29, 2025

There is an existing proposal on the lightbend GitHub to support this type of functionality with a new include contents syntax.

rsakey: include contents("/home/my_login/.ssh/rsa_key.p8")

@davlee1972
Copy link
Author

Additional discussions here:

https://groups.google.com/g/play-framework-dev/c/t2g-TWbqtzY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant