dcloud git access-tokens createCreate a git access token and return it once
IAM git:CreateAccessTokenChanges state
Synopsis
dcloud git access-tokens create --name name [flags]Flags
--nameRequiredstring
A name to recognise the token by
Constraints: 1-64 chars
--expires-in-daysOptionalnumber
Days until the token expires; it never expires when absent
Constraints: integer, 1-365
--accessOptionalenum
read: clone, fetch and API reads only; write (default): also push and writes
One of:
read,write--repository-idsOptionalarray of string
Only these repositories; omit for every repository you can reach
Example
dcloud git access-tokens create --name exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.