func NewService(credentials credentialprovider.AzureKeyVaultCredentials) Service {
	return &azureKeyVaultService{
		credentials: credentials,
	}
}
NewService creates a new AzureKeyVaultService
package client
import (
	"context"
	"encoding/base64"
	"fmt"
	"time"
	"github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault"
	"github.com/SparebankenVest/azure-key-vault-to-kubernetes/pkg/azure/credentialprovider"
	akvs "github.com/SparebankenVest/azure-key-vault-to-kubernetes/pkg/k8s/apis/azurekeyvault/v2beta1"
)
const (
	certificateTypePem string = "application/x-pem-file"
	certificateTypePfx        = "application/x-pkcs12"
)
type Service interface {
	GetSecret(secret *akvs.AzureKeyVault) (string, error)
	GetKey(secret *akvs.AzureKeyVault) (string, error)
	GetCertificate(secret *akvs.AzureKeyVault, options *CertificateOptions) (*Certificate, error)
}
type azureKeyVaultService struct {
	credentials credentialprovider.AzureKeyVaultCredentials
}