Get tokens

Description

Get Codefresh tokens.

Provide names/ids to filter results by them.

Command

codefresh get tokens [names|ids..]

Aliases

codefresh get token [names|ids..]

Arguments

Option Alias Default Description
names Token names or ids

Options

Option Alias Type Default Description
--help Print help information

Output Options

Option Alias Type Default Description
--select-columns --sc Columns to select for table output
--output -o Output format

Possible values:
- json
- yaml
- wide
- name
- id
--date-format --df Provide predefined or custom date format. Predefined options: [“default”, “date”, “datetime”, “date-diff”]
--pretty Use colors and signs for output
--watch -w boolean false Watching updates to a particular resource
--watch-interval number 3 Interval time at watching mode (in seconds)

Examples

Get all tokens

codefresh get tokens

Get tokens filtered by names or ids

codefresh get tokens [token_1_name] [token_2_id]