Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-authenticated keys: create #5

Open
Tracked by #8
gbraad opened this issue Jun 29, 2023 · 1 comment
Open
Tracked by #8

Pre-authenticated keys: create #5

gbraad opened this issue Jun 29, 2023 · 1 comment
Milestone

Comments

@gbraad
Copy link
Contributor

gbraad commented Jun 29, 2023

headscale preauthkeys create -u [user] -o json

Flags

  • --ephemeral Preauthkey for ephemeral nodes
  • --expiration string Human-readable expiration of the key (e.g. 30m, 24h) (default "1h")
  • --reusable Make the preauthkey reusable
  • --tags strings Tags to automatically assign to node
@gbraad gbraad added this to the Alpha milestone Jun 29, 2023
@gbraad gbraad changed the title Create pre-authenticated keys Pre-authenticated keys: create Jul 2, 2023
@gbraad gbraad mentioned this issue Jul 2, 2023
3 tasks
@gbraad
Copy link
Contributor Author

gbraad commented Jul 2, 2023

Example

{
	"user": "gbraad",
	"id": "1",
	"key": "5f5ad19844ef66d88ff2041b638c824a13fdfb69ea3162e4",
	"expiration": {
		"seconds": 1688283738,
		"nanos": 806378454
	},
	"created_at": {
		"seconds": 1688280138,
		"nanos": 809427146
	}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant