github.com/versent/saml2aws@v2.17.0+incompatible/cmd/saml2aws/commands/login_linux.go (about)

     1  package commands
     2  
     3  import (
     4  	"github.com/versent/saml2aws/helper/credentials"
     5  	"github.com/versent/saml2aws/helper/linuxkeyring"
     6  )
     7  
     8  func init() {
     9  	if keyringHelper, err := linuxkeyring.NewKeyringHelper(); err == nil {
    10  		credentials.CurrentHelper = keyringHelper
    11  	}
    12  }