Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ path = "src/main.rs"

[dependencies]
# Azure SDK for Rust
azure_identity = "0.27.0"
azure_core = "0.27.0"
azure_identity = "0.28.0"
azure_core = "0.28.0"

# Azure Storage is currently held at an older version.
# Include a version of the azure_core crate that is compatible with the
Expand Down
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/azure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
use std::sync::Arc;

use azure_identity::DefaultAzureCredentialBuilder;
use azure_identity::DeveloperToolsCredential;
use azure_storage::StorageCredentials;
use azure_storage_blobs::{
blob::operations::GetPropertiesResponse,
Expand Down Expand Up @@ -63,7 +63,7 @@ pub(crate) struct AzureRegistry {
impl AzureRegistry {
pub fn new() -> Result<Self, Box<dyn std::error::Error>> {
// Get a credential for Azure
let default_credential = DefaultAzureCredentialBuilder::new().build()?;
let default_credential = DeveloperToolsCredential::new(None)?;
let credential = TokenCredentialInterop::new(default_credential);

Ok(AzureRegistry {
Expand Down