@varde-flyt/vfac 0.14.1 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/vfac.mjs +970 -378
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,11 +95,23 @@ file pins the release the catalog currently offers. **Plan the run that sets one
|
|
|
95
95
|
apply will carry**: `plan` takes the flag exactly as `apply` does, and without it
|
|
96
96
|
the plan describes a different request.
|
|
97
97
|
|
|
98
|
+
`--secret` names a root setting by its name, and a setting inside a group by its
|
|
99
|
+
path — `--secret /upstreamAuth/clientSecret=env:UPSTREAM_CLIENT_SECRET` for the
|
|
100
|
+
`clientSecret` under `upstreamAuth`. `vfac product show` and `vfac manifest init`
|
|
101
|
+
print each required secret in that form. A path never names an item of a list:
|
|
102
|
+
no secret is declared there.
|
|
103
|
+
|
|
98
104
|
`requiredSecrets` in a plan is what the Product requires for the configuration in
|
|
99
105
|
your document — not a list of what the platform is missing. It names a credential
|
|
100
106
|
whether or not this resource already holds one, so it is not a shopping list to
|
|
101
107
|
act on. `secretsToWrite` is the field that says what this apply would write.
|
|
102
108
|
|
|
109
|
+
A credential the Product requires for your document — outright, or because of
|
|
110
|
+
what a setting is set to — that the run neither supplies nor the resource already
|
|
111
|
+
holds is refused by `plan` and `apply` alike, before anything is written: the
|
|
112
|
+
error names every one, by the path `--secret` takes, and the command exits 1.
|
|
113
|
+
`vfac validate` carries no secrets and refuses none; it lists them.
|
|
114
|
+
|
|
103
115
|
### `metadata.key` is the name you choose
|
|
104
116
|
|
|
105
117
|
`manifest init` writes one into the file, derived from `--name`. It is what the
|