create
sand api-keys create
Create an API key
sand api-keys create [flags]
Examples
$ sand api-keys create --notAfter="2026-01-01T00:00:00Z" --name=personal-token
✅ API key created
ID: aut_01jmmdbt1qfssrzy9hxrx07z1y
Name: personal-token
ExpiresAt: 2026-01-01T00:00:00Z
APIKey: ******
Options
-h, --help Help for create
--isDirectorKey Whether the API key is a director key
--json Return json output
--name string The name of the API key (required)
--notAfter string The time the API key will expire (required)
SEE ALSO
- sand api-keys - Manage API keys