---
title: "set token"
canonical: "https://docs.infoblox.com/space/nios85/35416419/set%20token"
format: markdown
---
The `set token` command is used to set Token, Grid Masters IP address and Certificate to the token file.

# Syntax

`set token [on|off|join]`

| **Argument ** | **Description** |
| --- | --- |
| on | Sets Token, Grid Masters IP address and Certificate to the token file |
| off | Removes Token from the file and all corresponding data |
| join | To join the grid using the existing token file |

# Example

`Infoblox > set token on`

> ⚠️ **Note**
> ⚠️ 
> ⚠️ To execute the `set token join` CLI command for a Grid member, it is recommended to use a self-signed certificate on the Grid Master instead of a CA-signed certificate.
> ⚠️ 
> ⚠️ If the Grid Master has a CA-signed certificate, it is recommended to use the [set membership](https://infoblox-docs.atlassian.net/wiki/spaces/nios85/pages/35384065) CLI command instead of the` ``set ``token ``on``/``join` CLI command.