def configure_aws!
      if defined?(Aws)
        require_relative 'v2_credential_provider'

        provider = V2CredentialProvider.new(self)
        Aws.config[:credentials] = provider
      end

      if defined?(AWS)
        require_relative 'v1_credential_provider'

        provider = V1CredentialProvider.new(self)
        AWS.config(credential_provider: provider)
      end
    end
def configure_aws!
      if defined?(Aws)
        require_relative 'v2_credential_provider'

        provider = V2CredentialProvider.new(self)
        Aws.config[:credentials] = provider
      end

      if defined?(AWS)
        require_relative 'v1_credential_provider'

        provider = V1CredentialProvider.new(self)
        AWS.config(credential_provider: provider)
      end
    end
Either aws-sdk and/or aws-sdk-v1 must be required BEFORE calling
 Omnivault::AbstractVault#configure_aws!