Ops Center Cluster Tokens

#1

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

A:

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
metadata:
   name: "<token value>"
spec:
   user: "gatekeeper@gravitational.io"
0 Likes