dcloud secrets environments set-app-environmentSet which environment an app’s secret names resolve in (null: shared only)
IAM deploy:UpdateAppChanges stateAsks before it deletes (-y skips)
Synopsis
dcloud secrets environments set-app-environment appId --environment-id environmentIdArguments
<appId>Requiredstring
Also accepted as
--app-id. Constraints: uuid
Flags
--environment-idRequiredstring
The environment the app’s secret names resolve in (its own secret, else the Default one), or null for Default values only. An unknown environment id is 404.
May be null.
Example
dcloud secrets environments set-app-environment appId --environment-id exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.