Versent / saml2aws

CLI tool which enables you to login and retrieve AWS temporary credentials using a SAML IDP
https://github.com/Versent/saml2aws
MIT License
2.04k stars 556 forks source link

The specified item could not be found in the keyring; Ubuntu 20.04/EC2 #1292

Open adv3nt3 opened 2 weeks ago

adv3nt3 commented 2 weeks ago

Error message:

ERRO[0000] keychain Get returned error    err="The specified item could not be found in the keyring" helper=linuxkeyring

Error storing password in keychain.: No such interface “org.freedesktop.DBus.Properties” on object at path /

EC2: AMI - Deep Learning AMI GPU TensorFlow 2.12.0 Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal

saml2aws --version
2.36.16
saml2aws --verbose configure
DEBU[0000] Running                                       command=configure
? Please choose a provider: AzureAD
? Please choose an MFA PhoneAppOTP
....
....
? Password *********
? Confirm *********
No such interface “org.freedesktop.DBus.Properties” on object at path /
error storing password in keychain
github.com/versent/saml2aws/v2/cmd/saml2aws/commands.storeCredentials
    github.com/versent/saml2aws/v2/cmd/saml2aws/commands/configure.go:87
github.com/versent/saml2aws/v2/cmd/saml2aws/commands.Configure
    github.com/versent/saml2aws/v2/cmd/saml2aws/commands/configure.go:63
main.main
    ./main.go:204
runtime.main
    runtime/proc.go:267
runtime.goexit
    runtime/asm_amd64.s:1650

1287

332