Ops Center Cluster Tokens

Q: Is there is a way for me to define what the trusted cluster join token is on an Ops Center? So far all I’ve found is I can’t and I can find it via gravity status


List tokens

gravity resource get tokens --user=gatekeeper@gravitational.io

List all tokens for the gatekeeper user (responsible for trusted clusters)

Remove tokens

gravity resource rm token/<token> --user=gatekeeper@gravitational.io

Creating tokens

To create your own specific token, create the token resource:

kind: token
version: v2
   name: "<token value>"
   user: "gatekeeper@gravitational.io"