Manage application configuration

Prev Next

Publish a selected declared setting to the intended Controller, then verify the running consumer adopted it. The administrator settings guide explains ownership, portal edits, reset and promotion; the operating model explains why governed definitions and effective behavior matter.

Prerequisites

Use a compatible Builder CLI and an authorized user login. This procedure follows Builder 2.71.0 and Miso 2.1.65 source contracts. Identify the canonical Controller, exact environment, application owner and environment-variable name. Reading requires controller:monitor or admin:read; changes require the corresponding configuration permission, with administrator authorization for secret writes.

Prepare the intended value in the application's ignored, protected local environment input through your approved secret workflow. Agree on adoption/restart and recovery before saving. A local/shared store edit alone does not update an existing Miso-managed value.

Where it lives

The Controller's declaration defines the setting name, classification, requirement, owner and visibility. The deployed manifest supplies declarations after deployment; never-deployed registrations use their shipped template. A secret remains managed material behind a logical reference. Changing a value cannot create a declaration or reclassify it.

The CLI command family is named env secret, but its list and push support declared non-secret variables too. Use the owner returned by the installation: some platform applications live in miso while environment applications live in dev, tst or pro.

How to set

  1. Select and confirm the target using its canonical address:

    aifabrix login --controller https://controller.example.com/miso --environment dev
    aifabrix auth status
    aifabrix env secret list dev --app <appKey> --key <ENV_VARIABLE_NAME>
    

    Replace both placeholders with an actual owner and declaration. Inspect type and configured state. Secret values and references are not printed; the Value column is only for non-sensitive variables.

  2. Preview the exact selected value from the protected input:

    aifabrix env secret push dev --app <appKey> --key <ENV_VARIABLE_NAME> --dry-run
    

    Check Controller, environment, owner, selected names and skipped declarations. Undeclared or ambiguous names are not published. Dry run makes no writes and never prompts.

  3. After approval, publish that selected setting:

    aifabrix env secret push dev --app <appKey> --key <ENV_VARIABLE_NAME>
    aifabrix env secret list dev --app <appKey> --key <ENV_VARIABLE_NAME>
    

    Never pass the secret value as an argument. A stale declaration revision requires a new read and review, not an unconditional overwrite. Protected environments ask for their name, including a selected-key push. Bulk push without a key asks separately; automation uses --yes only for an already approved write.

  4. Restart or redeploy the consumer through its supported application procedure and verify the intended behavior. Record the configured state and verification outcome separately. Do not report runtime adoption from storage success alone.

Defaults and examples

Omitting the environment uses the configured target; explicit environments are safer in a maintenance runbook. --file selects another protected environment input. An owner of * is a literal wildcard owner, not a request for every application's declarations.

For shared-store references, Builder forwards protected material to secret declarations without decrypting it. A non-sensitive declaration can receive a shared value only when that value was stored readable. Write-only values are refused for plaintext delivery. Do not reclassify a secret as readable to bypass that protection.

Reset of an application variable is available through the portal and restores the current resolved default. Upward promotion previews apply to non-secret owner overrides, with revision and expiry checks. Those are separate from pushing local configuration.

Validate

Check the exact declaration and configured state, the consuming process's effective behavior and relevant health after restart. Preserve target, setting name, change time and sanitized diagnostic IDs. Application connection credentials use their own provisioning/rotation flow; the bootstrap snapshot excludes initial Miso connection credentials. A generic configuration push cannot issue them or repair revoked runtime authorization through stale local fallback.

Common mistakes

Observation Action
The name is skipped as undeclared Use the exact owning application and declaration.
A revision conflicts Refresh and review before retrying.
Configured state changed but behavior did not Complete the consumer restart or deployment and verify adoption.

Limits

This source-reviewed procedure does not establish live adoption in every application. A fetched snapshot alone cannot prove an existing database pool or library reconfigured itself. Classification and declarations require reviewed application definition changes. Keep secret material out of logs, terminal recordings and change tickets.