Skip to main content

alien_core/import/data/azure/
key.rs

1use serde::{Deserialize, Serialize};
2
3/// Azure Key Vault key created by the customer-installed setup stack.
4#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
5#[cfg_attr(feature = "openapi", derive(utoipa::ToSchema))]
6#[cfg_attr(feature = "jsonschema", derive(schemars::JsonSchema))]
7#[serde(rename_all = "camelCase")]
8pub struct AzureKeyImportData {
9    /// ARM resource ID of the dedicated Key Vault.
10    pub vault_resource_id: String,
11    /// Key name within the vault.
12    pub key_name: String,
13    /// Version ID that identifies the original key lineage.
14    pub lineage_version_id: String,
15    /// Full versioned Key Vault key ID used for new wrapping operations.
16    pub key_id: String,
17}