// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Generated by the C++ microgenerator.
// If you make any local changes, they will be lost.
// file:///workspace/generator/discovery/compute_public_google_rest_v1.json
// revision: 20231110

syntax = "proto3";

package google.cloud.cpp.compute.v1;

message FileContentBuffer {
  // The raw content in the secure keys file.
  optional string content = 1 [json_name = "content"];

  // The file type of source file.
  // BIN:
  // UNDEFINED:
  // X509:
  optional string file_type = 2 [json_name = "fileType"];
}

// Initial State for shielded instance, these are public keys which are safe to
// store in public
message InitialStateConfig {
  // The Key Database (db).
  repeated FileContentBuffer dbs = 1 [json_name = "dbs"];

  // The forbidden key database (dbx).
  repeated FileContentBuffer dbxs = 2 [json_name = "dbxs"];

  // The Key Exchange Key (KEK).
  repeated FileContentBuffer keks = 3 [json_name = "keks"];

  // The Platform Key (PK).
  optional FileContentBuffer pk = 4 [json_name = "pk"];
}
