사용자 제공 서비스에 대해 Kubernetes 보안 비밀에 저장된 사용자 인증 정보를 업데이트합니다.
이러한 사용자 인증 정보는 앱으로 전파됩니다.
업데이트된 사용자 인증 정보를 수신하려면 앱을 다시 시작해야 할 수 있습니다.
예
# Update an existing database service
kf update-user-provided-service db-service -p '{"url":"mysql://..."}'
# Update a service with tags for autowiring
kf update-user-provided-service db-service -t "mysql,database,sql"
플래그
--async
작업이 서버에서 완료되어 결과를 반환할 때까지 기다리지 않습니다.
-h, --help
update-user-provided-service 도움말
-p, --params=string
서비스별 구성 매개변수가 포함된 유효한 JSON 객체로, 인라인 또는 파일에서 제공됩니다. (기본값 '{}')
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[],[],null,["# kf update-user-provided-service\n\n### Name\n\n`kf update-user-provided-service` - Update a standalone service instance with new credentials.\n\n### Synopsis\n\n```\nkf update-user-provided-service SERVICE_INSTANCE [-p CREDENTIALS] [-t TAGS] [flags]\n```\n\n### Description\n\nUpdates the credentials stored in the Kubernetes Secret for a user-provided service.\nThese credentials will be propagated to Apps.\n\nApps may need to be restarted to receive the updated credentials.\n\n### Examples\n\n```\n# Update an existing database service\nkf update-user-provided-service db-service -p '{\"url\":\"mysql://...\"}'\n\n# Update a service with tags for autowiring\nkf update-user-provided-service db-service -t \"mysql,database,sql\"\n```\n\n### Flags\n\n`--async`\n\n: Do not wait for the action to complete on the server before returning.\n\n`-h, --help`\n\n: help for update-user-provided-service\n\n`-p, --params=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Valid JSON object containing service-specific configuration parameters, provided in-line or in a file. (default \"{}\")\n\n`-t, --tags=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Comma-separated tags for the service instance.\n\n### Inherited flags\n\nThese flags are inherited from parent commands.\n\n`--as=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Username to impersonate for the operation.\n\n`--as-group=`\u003cvar translate=\"no\"\u003estrings\u003c/var\u003e\n\n: Group to impersonate for the operation. Include this flag multiple times to specify multiple groups.\n\n`--config=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Path to the Kf config file to use for CLI requests.\n\n`--kubeconfig=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Path to the kubeconfig file to use for CLI requests.\n\n`--log-http`\n\n: Log HTTP requests to standard error.\n\n`--space=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Space to run the command against. This flag overrides the currently targeted Space."]]