(lxc_auth_identity_token_issue.md)= # `lxc auth identity token issue` Issue a token for a bearer identity ## Synopsis Description: Issue a token for a bearer identity Note that this revokes the current token if one is issued ``` lxc auth identity token issue [:]/ [flags] ``` ## Options ``` --expiry string Token expiration as a space separated list of durations in the form (\d)+(S|M|H|d|w|m|y) ``` ## Options inherited from parent commands ``` --debug Show all debug messages --force-local Force using the local unix socket -h, --help Print help --project Override the source project -q, --quiet Don't show progress information --sub-commands Use with help or --help to view sub-commands -v, --verbose Show all information messages --version Print version number ``` ## SEE ALSO * [lxc auth identity token](lxc_auth_identity_token.md) - Manage bearer identity tokens