@karmaniverous/get-dotenv
    Preparing search index...

    Function awsConfigWithFlags

    • Internal

      The effective AWS plugin config for one invocation: the discovered plugins.aws config slice with the aws flags of this invocation over it (flags beat config).

      Parameters

      • plugin: PluginWithInstanceHelpers

        The AWS plugin instance (reads its config slice).

      • cli: GetDotenvCliPublic

        Any command of the host (the config is per plugin instance).

      • opts: unknown

        Commander option values of the aws mount.

      Returns {
          defaultRegion?: string;
          loginOnDemand?: boolean;
          profile?: string;
          profileFallbackKey?: string;
          profileKey?: string;
          region?: string;
          regionKey?: string;
          strategy?: "none" | "cli-export";
      }

      The config to resolve the session with.

      • OptionaldefaultRegion?: string

        Fallback region when region cannot be resolved from config/dotenv/AWS CLI.

      • OptionalloginOnDemand?: boolean

        When true, attempt aws sso login on-demand when credential export fails for an SSO profile.

      • Optionalprofile?: string

        Preferred AWS profile name (overrides dotenv-derived profile keys when set).

      • OptionalprofileFallbackKey?: string

        Dotenv/config fallback key for profile lookup (default AWS_PROFILE).

      • OptionalprofileKey?: string

        Dotenv/config key for local profile lookup (default AWS_LOCAL_PROFILE).

      • Optionalregion?: string

        Preferred AWS region (overrides dotenv-derived region key when set).

      • OptionalregionKey?: string

        Dotenv/config key for region lookup (default AWS_REGION).

      • Optionalstrategy?: "none" | "cli-export"

        Credential acquisition strategy.

        • 'cli-export': resolve via AWS CLI
        • 'none': skip credential resolution