Cannot assign name to key

That is helpful!

However, to clarify, my keys simply do not have any names to display! This is not a dashboard bug, but something else.

This is shell output just now. You can see that no name is visible. However, I can query other keys that do have names, and see those names appear in the document results.

CreateKey({
  role: 'admin',
  name: 'test name'
})

{
  ref: Key("269133124083909120"),
  ts: 1592924198150000,
  role: "admin",
  secret: "MY_SECRET",
  hashed_secret: "HASHED_SECRET"
}

>> Time elapsed: 154ms

Update(
  Ref(Keys(), '269133124083909120'),
  {
    name: 'test name 2'
  }
)

{
  ref: Key("269133124083909120"),
  ts: 1592924241410000,
  role: "admin",
  hashed_secret: "HASHED_SECRET"
}

>> Time elapsed: 251ms

1 Like