#[non_exhaustive]pub struct ProgrammaticCredential {
pub last_used_time: Option<i64>,
pub last_used_time_dt: Option<String>,
pub type: Option<String>,
pub uid: Option<String>,
}Expand description
Programmatic Credential
The Programmatic Credential object describes service-specific credentials used for direct API access and system integration. These credentials are typically issued by individual services or platforms for accessing their APIs and resources, focusing on credential lifecycle management and usage tracking. Examples include API keys, service account keys, client certificates, and vendor-specific access tokens.
[] Category: | Name: programmatic_credential
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.last_used_time: Option<i64>Last Used Time
The timestamp when this programmatic credential was last used for authentication or API access. This helps track credential usage patterns, identify dormant credentials that may pose security risks, and support credential lifecycle management. The timestamp should reflect the most recent successful authentication or API call using this credential.
optional
last_used_time_dt: Option<String>Last Used Time
The timestamp when this programmatic credential was last used for authentication or API access. This helps track credential usage patterns, identify dormant credentials that may pose security risks, and support credential lifecycle management. The timestamp should reflect the most recent successful authentication or API call using this credential.
optional
type: Option<String>Type
The type or category of programmatic credential, normalized to the caption of the type_id value. In the case of ‘Other’, it is defined by the event source. Examples include ‘API Key’, ‘Service Account Key’, ‘Access Token’, ‘Client Certificate’, ‘OAuth Token’, ‘Personal Access Token’, etc.
recommended
uid: Option<String>Unique ID
The unique identifier of the programmatic credential. This could be an API key ID, service account key ID, access token identifier, certificate serial number, or other unique identifier that distinguishes this credential from others. Examples: AWS Access Key ID, GCP Service Account Key ID, Azure Application ID, or OAuth2 token identifier.
required
Trait Implementations§
Source§impl Clone for ProgrammaticCredential
impl Clone for ProgrammaticCredential
Source§fn clone(&self) -> ProgrammaticCredential
fn clone(&self) -> ProgrammaticCredential
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more