Skip to content

Commit

Permalink
Merge pull request #281 from microsoft/user/sgolshani/security_encryp…
Browse files Browse the repository at this point in the history
…tion_type

Add SecurityEncryptionType
  • Loading branch information
shayan-msft authored Aug 21, 2024
2 parents 449745f + be6f764 commit 302d811
Show file tree
Hide file tree
Showing 8 changed files with 504 additions and 357 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (

require (
golang.org/x/net v0.28.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240820151423-278611b39280 // indirect
)

replace (
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1522,8 +1522,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.
google.golang.org/genproto/googleapis/rpc v0.0.0-20230731190214-cbb8c96f2d6d/go.mod h1:TUfxEVdsvPg18p6AslUXFoLdpED4oBnGwyqk3dV1XzM=
google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5/go.mod h1:zBEcrKX2ZOcEkHWxBPAIvYUWOKKMIhYcmNiUIu2ji3I=
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 h1:e7S5W7MGGLaSu8j3YjdezkZ+m1/Nm0uRVRMEMGk26Xs=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240820151423-278611b39280 h1:XQMA2e105XNlEZ8NRF0HqnUOZzP14sUSsgL09kpdNnU=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240820151423-278611b39280/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU=
google.golang.org/grpc v1.59.0 h1:Z5Iec2pjwb+LEOqzpB2MR12/eKFhDPhuqW91O+4bwUk=
google.golang.org/grpc v1.59.0/go.mod h1:aUPDwccQo6OTjy7Hct4AfBPD1GptF4fyUjIkQ9YtF98=
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
Expand Down
247 changes: 128 additions & 119 deletions rpc/cloudagent/compute/moc_cloudagent_virtualmachine.pb.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ message SSHPublicKey {
message Disk {
// reference to the virtual hard disk managed by storage
string diskname = 1;
VirtualMachineManagedDiskParameters managedDisk = 2;
}

message StorageConfiguration {
Expand Down
357 changes: 235 additions & 122 deletions rpc/common/moc_common_computecommon.pb.go

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions rpc/common/moc_common_computecommon.proto
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,19 @@ enum SecurityType {
CONFIDENTIALVM = 2;
}

enum SecurityEncryptionTypes {
SecurityEncryptionNone = 0;
NonPersistedTPM = 1;
}

message VMDiskSecurityProfile {
SecurityEncryptionTypes securityEncryptionType = 1;
}

message VirtualMachineManagedDiskParameters {
VMDiskSecurityProfile securityProfile = 1;
}

message ProxyConfiguration {
string httpProxy = 1 [(sensitivecompute) = true];
string httpsProxy = 2 [(sensitivecompute) = true];
Expand Down
236 changes: 123 additions & 113 deletions rpc/nodeagent/compute/moc_nodeagent_virtualmachine.pb.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ message SSHPublicKey {
message Disk {
// reference to the virtual hard disk managed by storage
string diskname = 1;
VirtualMachineManagedDiskParameters managedDisk = 2;
}

message SharedFolder {
Expand Down

0 comments on commit 302d811

Please sign in to comment.