dcloud secrets environments diffCompare two environments by name: present where, and equal or not
IAM secrets:ListSecretsRead
`from` and `to` are environment ids or `default` (the value every environment falls back to). Equality is computed server-side and needs secrets:CompareSecretValues on both secrets (audited); otherwise the row is `unknown` with the reason. Values are never returned.
Synopsis
dcloud secrets environments diff --from from --to toFlags
--fromRequiredobject
One side of the comparison: an environment id, or `default` for the Default values (`shared`, its old name, is accepted). An unknown environment id is 404.
Constraints: JSON
--toRequiredobject
The other side: an environment id, or `default` (`shared` is accepted). An unknown environment id is 404.
Constraints: JSON
Example
dcloud secrets environments diff --from '{}' --to '{}'Generated from the API description, the same one the API checks requests against and the CLI is built from.