rules_build_secrets icon indicating copy to clipboard operation
rules_build_secrets copied to clipboard

Add secrets.json

Open marczych opened this issue 4 years ago • 0 comments

This augments the environment_secrets repository rule to also emit secrets.json alongside secrets.bzl. This allows application code to parse the JSON file rather than the skylark file to retrieve all secrets. Alternatively, the user could list the secrets in environment_secrets, duplicate them in the load() statement, and duplicate them in some sort of template expansion genrule to create a file to be used at runtime.

NOTE: This also adds the latest version of skylib because it wasn't available otherwise.

marczych avatar Jun 20 '20 23:06 marczych