Generate Codefresh token.
Create default token or provide --type and --subject. See options for more details.
codefresh create token [name]
Option | Alias | Default | Description |
---|---|---|---|
name | token name. required |
Option | Alias | Type | Default | Description |
---|---|---|---|---|
--help | Print help information | |||
--subject | Name of the token subject | |||
--type | string | user | Type of the subject Possible values: - runtime-environment - user |
|
--scope | -s | array | user scopes |
codefresh create token some-token
codefresh create token some-token --subject my-k8s-cluster/namespace --type runtime-environment