You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NewServicePrincipalTokenFromMSI creates a ServicePrincipalToken via the MSI VM Extension. It will use the system assigned identity when creating the token. msiEndpoint - empty string, or pass a non-empty string to override the default value. Deprecated: use NewServicePrincipalTokenFromManagedIdentity() instead.
NOTE: This module will go out of support by March 31, 2023. For authenticating with Azure AD, use module azidentity instead. For help migrating from adal to azidentiy please consult the migration guide. General information about the retirement of this and other legacy modules can be found here.
clickhouse-backup
has built in support for azure managed identities (AZBLOB_USE_MANAGED_IDENTITY
option).Unfortunately it seems limited to single use case - system assigned identity on azure VM. azblob.go#L105 uses NewServicePrincipalTokenFromMSI function:
My use case is to utilize
clickhouse-backup
with convenient Entra Workload ID for Azure Kubernetes Service as it is a kind of Managed Identity authentication too.I suppose that using the recommended azidentity lib would cover all the authentication methods supported by azure.
adal
deprecation notice:By the way it would be worth to update the over two years outdated
azure-storage-blob-go
([go.mod#L6])(https://github.com/Altinity/clickhouse-backup/blob/master/go.mod#L6) with new azure-storage-blob-go.The text was updated successfully, but these errors were encountered: