@shopify/cli-kit
    Preparing search index...

    Function resolveGraphiQLKey

    • Resolves the GraphiQL authentication key. Uses the explicitly provided key if non-empty, otherwise derives one deterministically from the app secret.

      Parameters

      • providedKey: string | undefined

        An explicit key supplied by the caller; takes precedence when non-empty.

      • apiSecret: string

        The Partners app's client secret, used to derive a stable key as a fallback.

      • storeFqdn: string

        The myshopify.com domain the GraphiQL session targets.

      Returns string

      The resolved key.