def credential_hint()

in pai/toolkit/config.py [0:0]


    def credential_hint(cls, cred_type: Optional["CredentialProviderType"]) -> str:
        provider_hints = {
            CredentialProviderType.EnvironmentVariable: localized_text(
                "The credential source is: Environment Variable",
                "凭证来源: 环境变量(ALIBABACLOUD_ACCESS_KEY_ID, ALIBABACLOUD_ACCESS_KEY_SECRET)",
            ),
            CredentialProviderType.OIDCRoleArn: localized_text(
                "The credential source is: OIDC Role Arn",
                "凭证来源: OIDC Role Arn",
            ),
            CredentialProviderType.EcsRamRole: localized_text(
                "The credential source is: ECS Ram Role",
                "凭证来源: ECS Ram Role",
            ),
            CredentialProviderType.RamRoleArn: localized_text(
                "The credential source is: Ram Role Arn",
                "凭证来源: Ram Role Arn",
            ),
            CredentialProviderType.RsaKeyPair: localized_text(
                "The credential source is: RSA Key Pair",
                "凭证来源: RSA Key Pair",
            ),
            CredentialProviderType.Profile: localized_text(
                "The credential source is: Profile",
                "凭证来源: Profile(~/.alibabacloud/credentials.ini)",
            ),
            CredentialProviderType.CredentialUri: localized_text(
                "The credential source is: CredentialUri (EnvironmentVairbale ALIBABA_CLOUD_CREDENTIALS_URI)",
                "凭证来源: CredentialUri (环境变量 ALIBABA_CLOUD_CREDENTIALS_URI)",
            ),
        }

        return provider_hints.get(
            cred_type,
            localized_text(
                "The credential source is: Unknown",
                "凭证来源: 未知",
            ),
        )