pub struct AzureKeyVaultSettings {
pub vault_url: String,
pub tenant_id: String,
pub client_id: String,
pub client_secret: Option<String>,
pub token: Option<String>,
}Fields§
§vault_url: StringAzure Key Vault URL (e.g., https://myvault.vault.azure.net)
tenant_id: StringAzure AD tenant ID
client_id: StringAzure AD application (client) ID
client_secret: Option<String>Azure AD client secret
token: Option<String>Static Bearer token for testing/development (optional, if provided this is used instead of OAuth2 authentication)
Implementations§
Trait Implementations§
Source§impl Clone for AzureKeyVaultSettings
impl Clone for AzureKeyVaultSettings
Source§fn clone(&self) -> AzureKeyVaultSettings
fn clone(&self) -> AzureKeyVaultSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AzureKeyVaultSettings
impl Debug for AzureKeyVaultSettings
Source§impl Default for AzureKeyVaultSettings
impl Default for AzureKeyVaultSettings
Source§fn default() -> AzureKeyVaultSettings
fn default() -> AzureKeyVaultSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AzureKeyVaultSettings
impl<'de> Deserialize<'de> for AzureKeyVaultSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AzureKeyVaultSettings
impl PartialEq for AzureKeyVaultSettings
Source§impl Serialize for AzureKeyVaultSettings
impl Serialize for AzureKeyVaultSettings
impl StructuralPartialEq for AzureKeyVaultSettings
Auto Trait Implementations§
impl Freeze for AzureKeyVaultSettings
impl RefUnwindSafe for AzureKeyVaultSettings
impl Send for AzureKeyVaultSettings
impl Sync for AzureKeyVaultSettings
impl Unpin for AzureKeyVaultSettings
impl UnsafeUnpin for AzureKeyVaultSettings
impl UnwindSafe for AzureKeyVaultSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more