mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-10-19 13:49:53 +00:00
47b202554e
This commit adds the Azure SDK for Azure key vault KMS integration to the Ceph CSI driver. Signed-off-by: Praveen M <m.praveen@ibm.com>
25 lines
794 B
Go
25 lines
794 B
Go
//go:build go1.16
|
|
// +build go1.16
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
package runtime
|
|
|
|
import "github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud"
|
|
|
|
func init() {
|
|
cloud.AzureChina.Services[cloud.ResourceManager] = cloud.ServiceConfiguration{
|
|
Audience: "https://management.core.chinacloudapi.cn",
|
|
Endpoint: "https://management.chinacloudapi.cn",
|
|
}
|
|
cloud.AzureGovernment.Services[cloud.ResourceManager] = cloud.ServiceConfiguration{
|
|
Audience: "https://management.core.usgovcloudapi.net",
|
|
Endpoint: "https://management.usgovcloudapi.net",
|
|
}
|
|
cloud.AzurePublic.Services[cloud.ResourceManager] = cloud.ServiceConfiguration{
|
|
Audience: "https://management.core.windows.net/",
|
|
Endpoint: "https://management.azure.com",
|
|
}
|
|
}
|