Cline - 中文版 Docs
  • Cline Documentation
  • 入门指南
    • 快速开始
    • What is Cline?
  • Basics
    • Cline - 中文版胜算 说明文档
      • Cline 和模型上下文协议 (MCP) 服务器:提升 AI 能力
      • Interactive blocks
        • OpenAPI
      • Integrations
        • Cloud Provider Integration
        • Security Concerns
      • .clineignore 功能支持
  • Cline - 中文版胜算 说明文档
    • 什么是Cline - 胜算云增强版
    • 对于新程序员
    • 安装 Cline-胜算云增强版
    • 安装 Dev Essentials
    • 我们最喜欢的技术栈
    • 上下文管理
    • 型号选择指南
  • Getting Started
    • What is Cline?
    • For New Coders
    • Installing Cline
    • Installing Dev Essentials
    • Our Favorite Tech Stack
    • Context Management
    • Model Selection Guide
  • 提高提示技巧
    • 提示工程指南
    • Cline-胜算云增强版 内存库
  • Improving Your Prompting Skills
    • Prompt Engineering Guide
    • Cline Memory Bank
  • 探索 Cline 的工具
    • Cline-胜算云增强版 工具指南
  • 检查站
  • 计划与行动模式:有效人工智能发展指南
  • 新建任务工具
  • Remote Browser 支持
  • Exploring Cline's Tools
    • Cline Tools Guide
    • Checkpoints
    • Plan & Act Modes: A Guide to Effective AI Development
    • New Task Tool
  • Remote Browser Support
  • 企业解决方案
    • 安全问题
  • 云提供商集成
  • MCP 服务器
  • 自定义说明
  • Security Concerns
    • Security Concerns
  • Cloud Provider Integration
  • MCP Servers
  • Custom Instructions
  • MCP服务器
    • MCP概述
    • MCP市场
  • 从 GitHub 添加 MCP 服务器
  • 配置 MCP 服务器
  • 连接到远程服务器
  • MCP 传输机制
  • MCP 服务器开发协议
  • MCP Servers
    • MCP Overview
  • MCP Marketplace
  • Adding MCP Servers from GitHub
  • Configuring MCP Servers
  • Connecting to a Remote Server
  • MCP Transport Mechanisms
  • MCP Server Development Protocol
  • 自定义模型配置
    • 带有凭证身份验证的 AWS Bedrock
    • 带配置文件身份验证的 AWS Bedrock
    • GCP Vertex AI
  • LiteLLM 和 Cline-胜算云增强版(使用 Codestral)
  • Custom Model Configs
    • AWS Bedrock w/ Credentials Authentication
  • AWS Bedrock w/ Profile Authentication
  • GCP Vertex AI
  • LiteLLM & Cline (using Codestral)
  • 本地运行模型
    • 请先阅读
    • Ollama
    • LM 工作室
  • Ollama
  • LM Studio
  • Running Models Locally
  • More Info
    • Telemetry
    • 遥测
Powered by GitBook
On this page

AWS Bedrock w/ Profile Authentication

PreviousAWS Bedrock w/ Credentials AuthenticationNextGCP Vertex AI

Last updated 2 months ago

Configuring AWS Bedrock to use AWS Profiles for Authentication

Cline offers the option of utilizing AWS credentials or AWS profiles to access AWS Bedrock services. SSO/Federated roles are suggested over Legacy IAM configuration; this guide describes how to configure your environment so that Cline uses SSO roles for authentication.


  1. Install the of AWS CLI

    • Follow the AWS docs to install your OS-specific version of AWS CLI

  2. with the AWS CLI

    • If you do not already have AWS access through the IAM Identity Center, follow the to set up IAM users and roles. Ensure you have a PowerUserAccess role.

    • If you have access to AWS through your employer, open your AWS access portal and find the appropriate account. Ensure you have PowerUserAccesspermissions.

    • Open the Access keys link and note the SSO start URL and SSO region, which are needed in the next step

  3. Continue configuring your profile using

    • Once configured, use the following command to authenticate the AWS CLI: `aws sso login --profile <AWS-profile-name>

    • Note which profile name you attach to your AWS account, this is needed to configure Cline in the following steps

  4. If you haven't already done so, install VSCode and the Cline extension. Consult the Getting Started page for guidance.

  5. Open the Cline extension, then click on the settings button ⚙️ to select your API Provider.

    • From the API Provider dropdown, select AWS Bedrock

    • Select the AWS Profile radio button, then enter the AWS Profile Name from step 3

    • Select your AWS Region from the dropdown menu

    • Selecting the cross-region inference checkbox is required for some models

latest version
Configure IAM authentication
IAM User Guide
the aws configure sso CLI wizard