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-119","fidoProtocol":"FIDO2_0","credentialId":"iRklifx1dKdJ1TD8nfO_1sJkjBvQ8c-IvF7rWIm_Pn3eomw-6ADlnnQW6SdnywTy-9BQRn4dZ_YG-I2whzQyjlpu1uMCHEipGnq7jIMFl3uag6muQz8R8fOjQQHp7zp_roZV8CcUgqaBhDpBJPJeownmAU89_J_30TtxD9l6vGBYE1QL8Q_NRwHtONs0BHaHVinjS4JigcNCvdC9IyHfd91vAwnrxOy9h0JqmBBZF28NWlQGSKhMVLCIYcFioyx6","aaguid":"33623161-6462-3939-2d30-6466652d3436","createLocation":"Sunnyvale, CA","createDate":1695847801000,"lastusedLocation":"Sunnyvale, CA","lastUsedDate":1695848725000,"modifyDate":1695848725000,"status":"Active","displayName":"johndoe","attestationFormat":"packed","authenticatorType":"securitykey"},{"keyid":"1-1-101","fidoProtocol":"FIDO2_0","credentialId":"vWOzdjkJuhFu882484g4j87WSjzS9yhtGNnumOYQ1lGhsfsPEXUuTWllh-HLT5-wdq-cc6CaDZzaCnJyMotyuO40Q322xqY95IBxFoiPTerl75eRbFmBFbD8xnhIsZaqchVnWtKmcOG-kMIH35HQtDTfS-TwzQx8Ok5GUhc8y17VNb9mK3cWgyJXnRCZ-MMjB-E7EEd0StiMvcuoadtZ1pgnXskbHL6_lZDmLlGmCipLaLz7rc0uevKuvdiJqa9h","aaguid":"33623161-6462-3939-2d30-6466652d3436","createLocation":"Sunnyvale, CA","createDate":1695425659000,"lastusedLocation":"Not used yet","lastUsedDate":0,"modifyDate":0,"status":"Active","displayName":"johndoe","attestationFormat":"packed","authenticatorType":"securitykey"}]},"responseCode":"FIDO-MSG-0012","skfsVersion":"4.12.0","skfsFQDN":"example.strongkey.com","TXID":"1-115-1695849094182"}
Done with GetKeysInfo!