So the credential interface is fairly generic, you put up a blob of data and you tag it with a type that should let you know what the blob is for and therefore how you should use it. You can see the fields here[1] and see that user_id, type and blob are required, and that it gives examples of type as ec2 or cert.
When i use the credential interface to list i can specify my user_id [2] so that i can list all of my credentials. But in reality if i'm listing my own credentials i probably know what i'm looking for, so i want to be able to like list all my credentials that are ec2 or something like that. So in addition to being able to do GET /credentials?user_id=XXX i want to do ?user_id=XXX&type=ec2
So the credential interface is fairly generic, you put up a blob of data and you tag it with a type that should let you know what the blob is for and therefore how you should use it. You can see the fields here[1] and see that user_id, type and blob are required, and that it gives examples of type as ec2 or cert.
When i use the credential interface to list i can specify my user_id [2] so that i can list all of my credentials. But in reality if i'm listing my own credentials i probably know what i'm looking for, so i want to be able to like list all my credentials that are ec2 or something like that. So in addition to being able to do GET /credentials? user_id= XXX i want to do ?user_id= XXX&type= ec2
[1] https:/ /github. com/openstack/ keystone- specs/blob/ master/ api/v3/ identity- api-v3. rst#credentials -v3credentials /github. com/openstack/ keystone- specs/blob/ master/ api/v3/ identity- api-v3. rst#list- credentials
[2] https:/