I would like to have query that would return walletAddressKeys.
Use case is actually quite simple:
For Key management
If ASE wants to implement Key management, one of the important thing is also to show keys. This is currently possible by performing following call:
GET {walletAddress}/jwks.json
This one is fine, but apparently jwks.json does not include id, which is needed if ASE wants to revoke key.
Describe the solution you'd like
Probably the best solution is to have FieldResolver inside of the WalletAddress object. Following query would be perfect IMHO
query WalletAddressData(id: String!) {
walletAddress(id: $id) {
id
url
keys: {
id
name
createdAt
publicKey
}
}
}
Something like this :)
Describe alternatives you've considered
Alternative solution for ASE is to save keys in own database / table / whatever. Or maybe save mapping between walletAddressKey and own key data for the purpose of having all the data in some persistent storage.
Feature Request
Describe the feature you'd like to request
I would like to have query that would return walletAddressKeys. Use case is actually quite simple:
If ASE wants to implement Key management, one of the important thing is also to show keys. This is currently possible by performing following call:
This one is fine, but apparently
jwks.json
does not include id, which is needed if ASE wants to revoke key.Describe the solution you'd like Probably the best solution is to have FieldResolver inside of the WalletAddress object. Following query would be perfect IMHO
Something like this :)
Describe alternatives you've considered Alternative solution for ASE is to save keys in own database / table / whatever. Or maybe save mapping between walletAddressKey and own key data for the purpose of having all the data in some persistent storage.
Additional context N/A