(cli *cli)
| 52 | ) |
| 53 | |
| 54 | func tokenExchangeCmd(cli *cli) *cobra.Command { |
| 55 | cmd := &cobra.Command{ |
| 56 | Use: "token-exchange", |
| 57 | Aliases: []string{"te"}, |
| 58 | Short: "Manage token exchange profiles", |
| 59 | Long: "Manage token exchange profiles. Token exchange profiles enable secure token exchange flows for authentication and authorization.", |
| 60 | } |
| 61 | |
| 62 | cmd.SetUsageTemplate(resourceUsageTemplate()) |
| 63 | cmd.AddCommand(listTokenExchangeProfilesCmd(cli)) |
| 64 | cmd.AddCommand(createTokenExchangeProfileCmd(cli)) |
| 65 | cmd.AddCommand(showTokenExchangeProfileCmd(cli)) |
| 66 | cmd.AddCommand(updateTokenExchangeProfileCmd(cli)) |
| 67 | cmd.AddCommand(deleteTokenExchangeProfileCmd(cli)) |
| 68 | |
| 69 | return cmd |
| 70 | } |
| 71 | |
| 72 | func listTokenExchangeProfilesCmd(cli *cli) *cobra.Command { |
| 73 | cmd := &cobra.Command{ |
no test coverage detected