public Secret GetSecret(string vaultName, string secretName, string secretVersion)
        {
            if (string.IsNullOrEmpty(vaultName))
            {
                throw new ArgumentNullException("vaultName");
            }
            if (string.IsNullOrEmpty(secretName))
            {
                throw new ArgumentNullException("secretName");
            }

            string vaultAddress = this.vaultUriHelper.CreateVaultAddress(vaultName);

            var secretIdentifier = new Client.SecretIdentifier(vaultAddress, secretName, secretVersion);

            Client.Secret clientSecret;
            try
            {
                clientSecret = this.keyVaultClient.GetSecretAsync(secretIdentifier.Identifier).GetAwaiter().GetResult();
            }
            catch (Exception ex)
            {
                throw GetInnerException(ex);
            }

            return(new Secret(clientSecret, this.vaultUriHelper));
        }
        public Secret GetSecret(string vaultName, string secretName, string secretVersion)
        {
            if (string.IsNullOrEmpty(vaultName))
            {
                throw new ArgumentNullException("vaultName");
            }
            if (string.IsNullOrEmpty(secretName))
            {
                throw new ArgumentNullException("secretName");
            }

            string vaultAddress = this.vaultUriHelper.CreateVaultAddress(vaultName);

            var secretIdentifier = new Client.SecretIdentifier(vaultAddress, secretName, secretVersion);
            Client.Secret clientSecret;
            try
            {
                clientSecret = this.keyVaultClient.GetSecretAsync(secretIdentifier.Identifier).GetAwaiter().GetResult();
            }
            catch (Exception ex)
            {
                throw GetInnerException(ex);
            }

            return new Secret(clientSecret, this.vaultUriHelper);
        }