java -jar skfsclient.jar G <hostport> <did> <wsprotocol> <authtype> [ <accesskey> <secretkey> | <svcusername> <svcpassword> ] <username>
Value |
Explanation |
---|---|
hostport |
Host and port to access theĀ FIDO server |
did |
Unique domain identifier that belongs to SKCE |
wsprotocol |
Web service protocol; REST | SOAP |
authtype |
Authentication type; HMAC | PASSWORD |
accesskey |
Access key for use in identifying a secret key |
secretkey |
Secret key for HMACing a request |
svcusername |
Username used for PASSWORD-based authorization |
svcpassword |
Password used for PASSWORD-based authorization |
username |
Username for registration, authentication, or getting keys info |
$ example:~/skfsclient> java -jar skfsclient.jar G https://example.strongkey.com:8181 1 REST PASSWORD svcfidouser Abcd1234! johndoe
Copyright (c) 2001-2024 StrongAuth, Inc. All rights reserved.
REST Get user keys information with PASSWORD
******************************************
{"svcinfo":{"did":1,"protocol":"FIDO2_0","authtype":"PASSWORD","svcusername":"svcfidouser","svcpassword":"Abcd1234!"},"payload":{"username":"johndoe"}}
Calling getkeysinfo @ https://example.strongkey.com:8181/skfs/rest/getkeysinfo
Get user keys information complete.
******************************************
GetKeys response : {"Response":{"keys":[{"keyid":"1-1-1","fidoProtocol":"FIDO2_0","credentialId":"pqBOcDW7uYfRqEMY660IyuS6VzyQI2nX2oKUjwv9uy9W3y6FwzG2M9GGK9eUOa9dq2zbEoLGunjWrRjieM5_r4rM0hZaUtBtJWk6gfUYCWn-9Mp3buA_EVyZIMfjrANG6xgWPITT4MMG4sUl7m080mCISSAyKi4WaUZ_CcSPLvJl8q7swnw3MZX51jjS6LRSb5AlZQou5-nlT6Tmy6l45cNagb7IDJwdbW16j-XblEZY0lSzHss5vVF0W_cpIBsf","aaguid":"3b1adb99-0dfe-46fd-90b8-7f7614a4de2a","createLocation":"Sunnyvale, CA","createDate":1717627618000,"lastusedLocation":"Sunnyvale, CA","lastUsedDate":1717627808000,"modifyDate":1717627808000,"status":"Active","displayName":"johndoe","attestationFormat":"packed","authenticatorType":"securitykey"}]},"responseCode":"FIDO-MSG-0012","skfsVersion":"4.13.0","skfsFQDN":"example.strongkey.com","TXID":"1-1-167-1717627898853"}
Done with GetKeysInfo!