@serve.zone/interfaces
Version:
**TypeScript interfaces for the Cloudly ecosystem.** Type-safe contracts for multi-cloud infrastructure management.
35 lines (34 loc) • 1.03 kB
TypeScript
/**
* Interface for Cloudly settings stored in EasyStore
* These are runtime-configurable settings that can be modified via the UI
*/
export interface ICloudlySettings {
hetznerToken?: string;
cloudflareToken?: string;
awsAccessKey?: string;
awsSecretKey?: string;
awsRegion?: string;
digitalOceanToken?: string;
azureClientId?: string;
azureClientSecret?: string;
azureTenantId?: string;
azureSubscriptionId?: string;
googleCloudKeyJson?: string;
googleCloudProjectId?: string;
vultrApiKey?: string;
linodeToken?: string;
ovhApplicationKey?: string;
ovhApplicationSecret?: string;
ovhConsumerKey?: string;
scalewayAccessKey?: string;
scalewaySecretKey?: string;
scalewayOrganizationId?: string;
[key: string]: string | undefined;
}
/**
* Interface for masked settings (used in API responses)
* Shows only last 4 characters of sensitive tokens
*/
export type ICloudlySettingsMasked = {
[K in keyof ICloudlySettings]: string | undefined;
};