Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
209 changes: 202 additions & 7 deletions gen/ts/cryptos/fleet/v1/fleet_pb.ts

Large diffs are not rendered by default.

76 changes: 60 additions & 16 deletions gen/ts/cryptos/v1/config_pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type { Message } from "@bufbuild/protobuf";
* Describes the file cryptos/v1/config.proto.
*/
export const file_cryptos_v1_config: GenFile = /*@__PURE__*/
fileDesc("ChdjcnlwdG9zL3YxL2NvbmZpZy5wcm90bxIKY3J5cHRvcy52MSLdAgoNTWFjaGluZUNvbmZpZxITCgthcGlfdmVyc2lvbhgBIAEoCRIMCgRraW5kGAIgASgJEiYKCG1ldGFkYXRhGAMgASgLMhQuY3J5cHRvcy52MS5NZXRhZGF0YRIeCgRyb2xlGAQgASgLMhAuY3J5cHRvcy52MS5Sb2xlEiQKB25ldHdvcmsYBSABKAsyEy5jcnlwdG9zLnYxLk5ldHdvcmsSJAoHc3RvcmFnZRgGIAEoCzITLmNyeXB0b3MudjEuU3RvcmFnZRIoCglib290c3RyYXAYByABKAsyFS5jcnlwdG9zLnYxLkJvb3RzdHJhcBIcCgNwa2kYCCABKAsyDy5jcnlwdG9zLnYxLlBraRIkCgdpbnN0YWxsGAkgASgLMhMuY3J5cHRvcy52MS5JbnN0YWxsEicKCXN0YXRlX2tleRgKIAEoCzIULmNyeXB0b3MudjEuU3RhdGVLZXkiPgoIU3RhdGVLZXkSDAoEbW9kZRgBIAEoCRIkCgNrbXMYAiABKAsyFy5jcnlwdG9zLnYxLkttc1N0YXRlS2V5IjIKC0ttc1N0YXRlS2V5EhAKCGVuZHBvaW50GAEgASgJEhEKCXRydXN0X3BlbRgCIAEoCSIYCghNZXRhZGF0YRIMCgRuYW1lGAEgASgJIhQKBFJvbGUSDAoEa2luZBgBIAEoCSI+C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2FwaS9nby9jcnlwdG9zL3YxO2NyeXB0b3N2MWIGcHJvdG8z");

/**
* MachineConfig is the declarative configuration applied via ApplyConfig.
Expand Down Expand Up @@ -79,6 +79,14 @@ export type MachineConfig = Message<"cryptos.v1.MachineConfig"> & {
* @generated from field: cryptos.v1.StateKey state_key = 10;
*/
stateKey?: StateKey | undefined;

/**
* management carries FM-managed state pushed via ApplyConfig when a node is
* linked to a Fleet Manager (LINK enrollment). Empty on unmanaged nodes.
*
* @generated from field: cryptos.v1.Management management = 11;
*/
management?: Management | undefined;
};

/**
Expand All @@ -88,6 +96,42 @@ export type MachineConfig = Message<"cryptos.v1.MachineConfig"> & {
export const MachineConfigSchema: GenMessage<MachineConfig> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 0);

/**
* Management marks a node as Fleet-Manager-managed. Set by a LINK enrollment
* approval via ApplyConfig; takes effect on reboot.
*
* @generated from message cryptos.v1.Management
*/
export type Management = Message<"cryptos.v1.Management"> & {
/**
* Subject CN of the managing Fleet Manager operator identity.
*
* @generated from field: string manager_cn = 1;
*/
managerCn: string;

/**
* PEM trust anchor (operator CA) the node adds to its authorized client CAs.
*
* @generated from field: string trust_pem = 2;
*/
trustPem: string;

/**
* When true, the node's embedded operator surface is read-only.
*
* @generated from field: bool operator_surface_readonly = 3;
*/
operatorSurfaceReadonly: boolean;
};

/**
* Describes the message cryptos.v1.Management.
* Use `create(ManagementSchema)` to create a new message.
*/
export const ManagementSchema: GenMessage<Management> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 1);

/**
* StateKey selects the protector for the encrypted state-partition key.
*
Expand All @@ -114,7 +158,7 @@ export type StateKey = Message<"cryptos.v1.StateKey"> & {
* Use `create(StateKeySchema)` to create a new message.
*/
export const StateKeySchema: GenMessage<StateKey> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 1);
messageDesc(file_cryptos_v1_config, 2);

/**
* KmsStateKey configures the envelope-encryption KMS that seals/unseals the
Expand Down Expand Up @@ -144,7 +188,7 @@ export type KmsStateKey = Message<"cryptos.v1.KmsStateKey"> & {
* Use `create(KmsStateKeySchema)` to create a new message.
*/
export const KmsStateKeySchema: GenMessage<KmsStateKey> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 2);
messageDesc(file_cryptos_v1_config, 3);

/**
* @generated from message cryptos.v1.Metadata
Expand All @@ -161,7 +205,7 @@ export type Metadata = Message<"cryptos.v1.Metadata"> & {
* Use `create(MetadataSchema)` to create a new message.
*/
export const MetadataSchema: GenMessage<Metadata> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 3);
messageDesc(file_cryptos_v1_config, 4);

/**
* @generated from message cryptos.v1.Role
Expand All @@ -180,7 +224,7 @@ export type Role = Message<"cryptos.v1.Role"> & {
* Use `create(RoleSchema)` to create a new message.
*/
export const RoleSchema: GenMessage<Role> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 4);
messageDesc(file_cryptos_v1_config, 5);

/**
* @generated from message cryptos.v1.Network
Expand Down Expand Up @@ -209,7 +253,7 @@ export type Network = Message<"cryptos.v1.Network"> & {
* Use `create(NetworkSchema)` to create a new message.
*/
export const NetworkSchema: GenMessage<Network> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 5);
messageDesc(file_cryptos_v1_config, 6);

/**
* @generated from message cryptos.v1.Storage
Expand All @@ -231,7 +275,7 @@ export type Storage = Message<"cryptos.v1.Storage"> & {
* Use `create(StorageSchema)` to create a new message.
*/
export const StorageSchema: GenMessage<Storage> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 6);
messageDesc(file_cryptos_v1_config, 7);

/**
* Bootstrap carries the administrator credential trusted on first boot.
Expand All @@ -256,7 +300,7 @@ export type Bootstrap = Message<"cryptos.v1.Bootstrap"> & {
* Use `create(BootstrapSchema)` to create a new message.
*/
export const BootstrapSchema: GenMessage<Bootstrap> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 7);
messageDesc(file_cryptos_v1_config, 8);

/**
* @generated from message cryptos.v1.Pki
Expand Down Expand Up @@ -350,7 +394,7 @@ export type Pki = Message<"cryptos.v1.Pki"> & {
* Use `create(PkiSchema)` to create a new message.
*/
export const PkiSchema: GenMessage<Pki> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 8);
messageDesc(file_cryptos_v1_config, 9);

/**
* Parent is the trust anchor a subordinate CA pins for its issuer: the parent
Expand All @@ -376,7 +420,7 @@ export type Parent = Message<"cryptos.v1.Parent"> & {
* Use `create(ParentSchema)` to create a new message.
*/
export const ParentSchema: GenMessage<Parent> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 9);
messageDesc(file_cryptos_v1_config, 10);

/**
* CertificateProfile drives CSR generation and certificate signing: key
Expand Down Expand Up @@ -446,7 +490,7 @@ export type CertificateProfile = Message<"cryptos.v1.CertificateProfile"> & {
* Use `create(CertificateProfileSchema)` to create a new message.
*/
export const CertificateProfileSchema: GenMessage<CertificateProfile> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 10);
messageDesc(file_cryptos_v1_config, 11);

/**
* @generated from message cryptos.v1.BasicConstraints
Expand All @@ -471,7 +515,7 @@ export type BasicConstraints = Message<"cryptos.v1.BasicConstraints"> & {
* Use `create(BasicConstraintsSchema)` to create a new message.
*/
export const BasicConstraintsSchema: GenMessage<BasicConstraints> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 11);
messageDesc(file_cryptos_v1_config, 12);

/**
* @generated from message cryptos.v1.SubjectAltNames
Expand Down Expand Up @@ -503,7 +547,7 @@ export type SubjectAltNames = Message<"cryptos.v1.SubjectAltNames"> & {
* Use `create(SubjectAltNamesSchema)` to create a new message.
*/
export const SubjectAltNamesSchema: GenMessage<SubjectAltNames> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 12);
messageDesc(file_cryptos_v1_config, 13);

/**
* X509Extension is the raw escape hatch: a dotted OID, criticality flag, and the
Expand Down Expand Up @@ -533,7 +577,7 @@ export type X509Extension = Message<"cryptos.v1.X509Extension"> & {
* Use `create(X509ExtensionSchema)` to create a new message.
*/
export const X509ExtensionSchema: GenMessage<X509Extension> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 13);
messageDesc(file_cryptos_v1_config, 14);

/**
* Install declares how the node provisions itself to persistent storage during
Expand All @@ -556,7 +600,7 @@ export type Install = Message<"cryptos.v1.Install"> & {
* Use `create(InstallSchema)` to create a new message.
*/
export const InstallSchema: GenMessage<Install> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 14);
messageDesc(file_cryptos_v1_config, 15);

/**
* @generated from message cryptos.v1.Subject
Expand All @@ -583,5 +627,5 @@ export type Subject = Message<"cryptos.v1.Subject"> & {
* Use `create(SubjectSchema)` to create a new message.
*/
export const SubjectSchema: GenMessage<Subject> = /*@__PURE__*/
messageDesc(file_cryptos_v1_config, 15);
messageDesc(file_cryptos_v1_config, 16);

Loading
Loading