```key = client.keys.create({ "description": "Ad...
# community-help
r
Copy code
key = client.keys.create({
  "description": "Admin key.",
  "actions": ["*"],
  "collections": ["*"]
})
This can't create keys right? is the bootstrap key the only key that can create keys? one key to rule them all?
j
That's correct, you'd need to use the bootstrap api key to initialize the client and generate your first admin key
To clarify, once you have your first admin key generated from the bootstrap api key, you can then create additional admin keys with that generated admin api key
r
I'm a bit confused then. can the key created in my example above create other keys?
j
Yes it can. I initially misunderstood your original question.
r
I see, so what defines a key as being able to create keys. Is it an action or a collection? I'm guessing the action * ?
Copy code
key = client.keys.create({
  "description": "Almost Admin key.",
  "actions": ["collections:*"],
  "collections": ["*"]
})
So from my understanding this key can do every action on collections, but not create new keys?
j
It's actions * and collections * that makes it an admin key. The key generated with the snippet above shouldn't allow you to create new keys...
r
@Jason Bosco cool can I put in a pull request to add this to the docs?
j
Yes please, thank you!