@basetenlabs/client - v0.2.0
    Preparing search index...

    Interface WeightsAuth

    Authentication configuration for a weights source.

    This can be used to specify OIDC-based authentication for cloud storage sources, or a Baseten secret name for access key authentication.

    interface WeightsAuth {
        auth_method: WeightsAuthMethod;
        auth_secret_name?: string | null;
        aws_assume_role_arn?: string | null;
        aws_assume_role_region?: string | null;
        aws_oidc_region?: string | null;
        aws_oidc_role_arn?: string | null;
        gcp_oidc_service_account?: string | null;
        gcp_oidc_workload_id_provider?: string | null;
        [k: string]: unknown;
    }

    Indexable

    • [k: string]: unknown
    Index
    auth_method: WeightsAuthMethod
    auth_secret_name?: string | null

    Baseten secret name containing credentials for accessing the source.

    aws_assume_role_arn?: string | null

    AWS IAM role ARN that Baseten assumes with its own AWS principal, scoped by the sts:ExternalId Baseten assigns to your organization.

    aws_assume_role_region?: string | null

    AWS region for AWS AssumeRole authentication.

    aws_oidc_region?: string | null

    AWS region for OIDC authentication.

    aws_oidc_role_arn?: string | null

    AWS IAM role ARN for OIDC authentication.

    gcp_oidc_service_account?: string | null

    GCP service account name for OIDC authentication.

    gcp_oidc_workload_id_provider?: string | null

    GCP workload identity provider for OIDC authentication.