| ▲ | edentrey 3 hours ago | ||||||||||||||||
can you please tell me how to disable expiration time? I see auth keys have an Expiration which says it "Must be between 1 and 90 days." I do use a custom domain name as well with a Nameservers rule to have all my services reachable as subdomains of my custom domain. | |||||||||||||||||
| ▲ | aidos 3 hours ago | parent | next [-] | ||||||||||||||||
You can create an oauth client that can generate keys as you need them. https://tailscale.com/kb/1215/oauth-clients#generating-long-... | |||||||||||||||||
| ▲ | 3 hours ago | parent | prev | next [-] | ||||||||||||||||
| [deleted] | |||||||||||||||||
| ▲ | 2 hours ago | parent | prev | next [-] | ||||||||||||||||
| [deleted] | |||||||||||||||||
| ▲ | matthewmacleod 3 hours ago | parent | prev [-] | ||||||||||||||||
There is some confusion here because while you can disable node key expiration, you can’t disable auth key expiration. But that’s less of a problem than it seems - auth keys are only useful for adding new nodes, so long expiry times are probably not necessary outside of some specific use-cases. Edit: in fact from your original post it sounds like you’re trying to avoid re-issuing auth keys to embedded devices. You don’t need to do this; auth keys should ideally be single-use and are only required to add the node to the network. Once the device is registered, it does not need them any more - there is a per-device key. You can then choose to disable key expiration for that device. | |||||||||||||||||
| |||||||||||||||||