이 페이지의 일부 또는 전체 정보는 S3NS의 신뢰할 수 있는 클라우드에 적용되지 않을 수 있습니다.
VS Code용 Cloud Code를 사용하여 Kubernetes에 민감한 정보 저장
이 페이지에서는 Kubernetes 보안 비밀이 무엇인지, Cloud Code에서 Secret Manager API를 설정하여 생성, 사용, 저장하는 방법을 소개합니다.
Kubernetes 보안 비밀 소개
Kubernetes 애플리케이션을 만들 때 비밀번호, SSH 키 또는 OAuth 토큰에 소량의 민감한 정보를 전달해야 하는 경우가 종종 있습니다. 이 정보를 포드 사양 또는 컨테이너 이미지에 저장하는 대신 Kubernetes 보안 비밀을 만들어 민감한 정보를 저장할 수 있습니다.
기본적으로 Kubernetes 보안 비밀은 API 서버의 기본 데이터 스토어에 암호화되지 않은 상태로 저장됩니다. API 액세스 권한이 있는 모든 사용자는 보안 비밀을 검색하거나 수정할 수 있습니다.
Kubernetes 보안 비밀 문서에서는 Kubernetes 보안 비밀을 안전하게 사용하기 위해 최소한 다음 단계를 수행할 것을 권장합니다.
Cloud Code의 Secret Manager
Cloud Code를 사용하면 Secret Manager API를 사용하여 IDE 내에서 저장 데이터 암호화로 보안 비밀을 만들고, 버전 관리하고, 저장할 수 있습니다.
Secret Manager를 Cloud Code에서만 사용하거나 이미 보안 비밀 관리에 사용하는 다른 도구와 함께 사용할 수 있습니다.
Cloud Code로 IDE 내에서 수행할 수 있는 작업은 다음과 같습니다.
Cloud Code의 Kubernetes 보안 비밀 작업
Cloud Code에서 보안 비밀 만들기, 버전 관리, 사용, 삭제에 대한 단계별 안내는 보안 비밀 관리를 참조하세요.
다음 단계
지원받기
의견을 보내려면
GitHub에서 문제를 보고하거나
Stack Overflow에서 질문하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-11(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-11(UTC)"],[[["\u003cp\u003eKubernetes secrets are used to store sensitive data like passwords and tokens, rather than storing them directly in pod specifications or container images.\u003c/p\u003e\n"],["\u003cp\u003eBy default, Kubernetes secrets are stored unencrypted, so it is recommended to enable encryption at rest, configure RBAC rules, and consider external secret store providers.\u003c/p\u003e\n"],["\u003cp\u003eCloud Code enables users to leverage the Secret Manager API to create, version, and securely store secrets with encryption at rest directly from within the IDE.\u003c/p\u003e\n"],["\u003cp\u003eWith Cloud Code, you can enable the Secret Manager API, create and manage Kubernetes secrets, add them as environment variables, and mount them as volumes.\u003c/p\u003e\n"],["\u003cp\u003eThe Kubernetes Documentation provides further insight into the good practices and alternatives to secrets, such as service account tokens.\u003c/p\u003e\n"]]],[],null,[]]