kconnect
kconnect copied to clipboard
Special character * cannot be used in password
What happened: [A clear and concise description of what the bug is.]
Cannot use password with * character (with and without enclosing single quotes)
What did you expect to happen:
Successful login with saml
How to reproduce it:
Try to use password either with input or no input that has a * character
kconnect use eks --idp-protocol saml --no-input --region us-east-1 --username test_username --password 'abc*123' --role-arn arn:aws:iam::******:role/******* --namespace *********
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
fatal failed executing root command {"error": "authenticating using provider saml: authenticating: Unknown document type"}
main.main
/home/runner/work/kconnect/kconnect/cmd/kconnect/main.go:50
runtime.main
/opt/hostedtoolcache/go/1.17.2/x64/src/runtime/proc.go:255
Environment:
- kconnect version (use
kconnect version
):
version: 0.5.4
builddate: "2021-11-04T13:46:43Z"
commithash: 6db28a190b6f815858a834fccde6d7287151cb2b
goversion: go1.17.2
platform: darwin/amd64
compiler: gc
- Kubernetes version (use
kubectl version
): - OS (e.g. from
/etc/os-release
): OSX - Target environment (e.g. EKS, AKS, Rancher): EKS
- Authentication Used (e.g. SAML, IAM, Azure AD): SAML
I might actually be wrong about the special character causing it, I just did another test with using just letters in a wrong password and it gives the same error so this may not be a real issue, sorry