public static List <ICredential> usernames(this ISecretData secretData, string credentialType)
        {
            var usernames = from credential in secretData.credentialTypes(credentialType)
                            select(ICredential) credential;

            return(usernames.ToList());
        }
        public static string password(this ISecretData secretData, string credentialType, int index)
        {
            var credentials = secretData.credentialTypes(credentialType);

            if (index < credentials.size())
            {
                return(credentials[index].Password);
            }
            return("");
        }
        public static string username(this ISecretData secretData, string credentialType, int index)
        {
            var credentials = secretData.credentialTypes(credentialType);

            if (index < credentials.size())
            {
                return(credentials[index].UserName);
            }
            return("");
        }