You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow a keyring URL ie http://keyrings.ara.one/1.0/did:ara:59f8d0... to be passed in without a network name specified in the URL. Use the network name passed in via --network arg.
It will result in the keyring file looking something like this,
{
"archiver" : {Network keys containing a discovery key},
"resolver" : {Network keys containing a discovery key}
}
So, lets say you want to retrieve the discovery key for the archiver entry from the above file, you would use it as
$ aid archive <DID> -s test-node -n archiver -k keyring-file.pub
As for the keyring-registry URL's, the name in the URL refers to the file name used to store when publishing. The registry server treats it as a single file and doesn't care about what values are inside the keyring file.
In order to use a keyring file from the registry, you would need to know the shared-secret and network values inside the keyring file beforehand. This can be obtained from the developer who provided the URL for the keyring file.
So if the same file above is published as ara-dev-keyring and the URL is http://keyrings.ara.one/1.0/did:ara:59f8d...71a87987ef/ara-dev-keyring, it can used as
$ aid archive <DID> -s test-node -n archiver -k 'http://keyrings.ara.one/1.0/did:ara:59f8d...71a87987ef/ara-dev-keyring'
$ aid resolve <DID> -s test-node -n resolver -k 'http://keyrings.ara.one/1.0/did:ara:59f8d...71a87987ef/ara-dev-keyring'
Allow a keyring URL ie
http://keyrings.ara.one/1.0/did:ara:59f8d0...
to be passed in without a network name specified in the URL. Use the network name passed in via--network
arg.Desired Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: