AI 에이전트의 경우: 문서 인덱스는 https://www.mongodb.com/ko-kr/docs/llms.txt에서 사용할 수 있으며, 모든 페이지의 마크다운 버전은 어떤 URL 경로에 .md를 추가하여 사용할 수 있습니다.

agentengine secret set

시크릿을 설정하거나 업데이트합니다.

프로젝트 또는 작업 공간 비밀 저장소에서 비밀을 설정하거나 업데이트합니다.

이 플랫폼은 MONGODB_URI가 필요하며, features.memory가 true일 때는 VOYAGE_API_KEY도 필요합니다. ANTHROPIC_API_KEY 및 OPENAI_API_KEY와 같은 제공자 키는 에이전트별로 다릅니다. 에이전트가 사용하는 키를 설정하세요.

이름은 ^[A-Z][A-Z0-9_]{0,127}$와 일치해야 하며 예약된 플랫폼 이름일 수 없습니다. 기본적으로 프로젝트 범위의 보안 비밀을 설정합니다. --workspace-scope 또는 --workspace-id는 작업 영역을 대상으로 합니다. --context는 조직과 프로젝트만 지정하므로 --project-scope와 함께 사용하세요.

숨겨진 프롬프트의 경우 값을 생략하거나 --stdin으로 파이프. 위치 VALUE 및 --value는 더 이상 사용되지 않습니다. 대량 dotenv 가져오기는 --from-파일(-는 stdin의 경우)을 사용합니다. --from-file은 일반 텍스트 비밀을 읽습니다. 마스킹된 프롬프트 또는 비밀 관리자의 stdin을 선호합니다. 파일을 사용하는 경우 소유자 전용으로 만들고, 한 번 가져온 다음, 삭제하고 기록, 백업 및 버전 제어에서 복사본을 제거하고, 커밋되었거나 노출되었을 수 있는 경우 가져온 모든 비밀을 순환합니다. 파일을 커밋하거나 동기화하지 마십시오. 파일 경로는 Linux에서만 작동하므로 macOS 및 Windows에서는 --from-file -을 사용하십시오.

--on-empty는 가져오기 시 빈 값을 제어합니다(skip, warn 또는 error). 기본값은 대화형 터미널에서는 프롬프트를 표시하고, 그렇지 않으면 오류를 발생시키는 것입니다.

--sync는 다음 메시지가 새 값을 사용할 수 있을 때까지 기다립니다. 현재 턴은 이전 턴을 유지합니다.

예시:

agentengine secret set MONGODB_URIsecret-manager export-dotenv | agentengine secret set --from-file -agentengine secret set API_KEY --workspace-scope
agentengine secret set [NAME] [flags]
--base-url string Platform base URL --context string Named context to target (see 'agentengine context list') --description string Human-readable description of the secret --from-file string Security warning: import plaintext dotenv secrets from a private temporary Linux file, or - for stdin on any OS-h, --help help for set --on-empty string Action for empty values when using --from-file: skip, warn, or error --org-id string Organization ID --project-id string Project ID --project-scope Target project-scoped secrets (the default; explicit alternative to --workspace-scope) --stdin Read the entire stdin stream as one secret; use --from-file - for dotenv --sync After setting, wait until the next message can use the new secret values --workspace string Monorepo: target a specific workspace by name (from root agent.yaml) --workspace-id string Workspace ID --workspace-scope Target workspace-scoped secrets instead of project-scoped secrets (the default)
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)
이 페이지 평가하기