SavedCredential

Type Alias SavedCredential 

Source
pub type SavedCredential = CredentialData;
Expand description

Result type for credential operations

Aliased Type§

pub struct SavedCredential {
    pub version: String,
    pub id: String,
    pub name: String,
    pub api_key: String,
    pub template_type: TemplateType,
    pub created_at: String,
    pub updated_at: String,
    pub metadata: Option<HashMap<String, String>>,
}

Fields§

§version: String

Data format version for compatibility

§id: String

Unique identifier for the credential

§name: String

User-friendly name for the credential

§api_key: String

API key in plain text

§template_type: TemplateType

Template type this credential is associated with

§created_at: String

Creation timestamp in UTC

§updated_at: String

Last update timestamp in UTC

§metadata: Option<HashMap<String, String>>

Optional metadata for future extensibility