Skip to main content

diagrid appid trust set

Configure an App ID invocation allow-list for a target App ID

Description

Configure an App ID allow-list specifying which App IDs can invoke the target App ID via the Service Invocation API

diagrid appid trust set <appid> [flags]

Examples



# Allow direct invocation access from the "caller" App ID to the "target" App ID, denying all others
diagrid appid trust set target --allow-invoke-from caller

# Allow direct invocation access from all App IDs in the same project (Default)
diagrid appid trust set target --allow-invoke-from "[]"

Options

      --allow-invoke-from strings   [Required]: A list of trusted App IDs that are allowed to invoke the given App ID
-p, --project string Name of existing project
-h, --help help for set

Options inherited from parent commands

      --api-key string   Diagrid Cloud API key

SEE ALSO

  • diagrid appid trust - Manage App ID access control policies enforced by the Service Invocation API