-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance handling of local SSH Key files #548
Comments
[부연 설명]
|
@powerkimhub GCP의 경우 기존에는 VM 생성 시 Public Key를 사용하기에 KeyPair 생성 및 조회 시에도 KeyPairInfo에있는 PublicKey 필드의 정보를 함께 리턴하고 있었습니다. 공통함수의 경우 PublicKey를 취급하지 않기에 KeyPair 생성시 함께 생성된 PublicKey를 사용하지 않는 형태로 수정할 경우... 아니면 KeyPair조회나 목록 요청시에도 매번 모든 KeyPair에 대해 MakePublicKeyFromPrivateKey()를 호출해서 PublicKey를 생성 해서 KeyPairInfo의 PublicKey 필드 값을 내려 보내야 할까요? 만약, KeyPair 정보 조회나 KeyPair 목록의 결과 값에 PublicKey가 포함될 필요가 없으면 기존의 PublicKey를 처리하는 부분을 삭제하고 VM 생성 시에는 MakePublicKeyFromPrivateKey()를 이용하도록 수정할 생각입니다. 그렇지 않고 조회나 목록에서도 PublicKey가 필요하다면 성능상 공통함수에 PublicKey가 포함되는게 좋을 듯싶습니다. |
|
[GCP] 키페어 로직을 공통 모듈로 대체 / VM 생성 시 공개키 로직 변경 - 이슈 #548
|
|
@powerkimhub NCP에서 keypair 생성시 public key string이 cb-store에 저장되고, keypair 삭제시에는 그 public key string이 삭제되도록 보완되었습니다. |
- Enhance handling of local SSH Key files 이슈 적용 cloud-barista#548 - KeyPair 리턴 형식 변경 - Return info of the KeyPair Create/List/Get API are not clear cloud-barista#560
|
@dev4unet @inno-cloudbarista (@innodreamer )
[현황]
Spider 내부에서 SSH Key 관리 방법은 현재 2가지 타입이 존재합니다.
(1) CSP 기능 활용 타입
(2) DRV 기능 제공 타입(local file로 관리)
(3)CSP+DRV 혼용: 현재는 사용되지 않는 타입현재 (2)번 타입의 local file 관리 방식은 다음과 같은 잠재적 이슈가 존재합니다.
[제안]
위와 같은 사유로 다음과 같은 방법으로 개선하고자 합니다.
cb-spider/cloud-control-manager/cloud-driver/common/common.go
Line 154 in 5a5445d
적용 대상 Driver
추진 가이드
The text was updated successfully, but these errors were encountered: