Skip to content

Conversation

@jiparis
Copy link
Member

@jiparis jiparis commented May 16, 2024

This PR allows to invoke chainloop wf create without passing the flag --skip-robot-account-create when using API tokens to authenticate:

✗ go run app/cli/main.go --insecure --token $TOKEN wf create --name my-wf --project my-proj
WRN API contacted in insecure mode
INF API token provided to the command line
┌──────────────────────────────────────┬───────────┬─────────┬─────────────────────┬────────┬─────────────────┐
│ ID                                   │ NAME      │ PROJECT │ CREATED AT          │ RUNNER │ LAST RUN STATUS │
├──────────────────────────────────────┼───────────┼─────────┼─────────────────────┼────────┼─────────────────┤
│ 0c76d9d6-d056-4ca9-84be-fb4d1202af24 │ sdfsdffs2 │ asdfs   │ 16 May 24 14:17 UTC │        │                 │
└──────────────────────────────────────┴───────────┴─────────┴─────────────────────┴────────┴─────────────────┘

This is an automatically generated Robot Account Token (ID: 59091596-30b1-4d52-b37e-a9ee82c805b4). Save the following token since it will not printed again:

Signed-off-by: Jose I. Paris <jiparis@chainloop.dev>
@jiparis jiparis requested review from javirln and migmartri May 16, 2024 14:19
@jiparis jiparis changed the title feat(762): Allow API TOKENs to create robot accounts feat(api-tokens): Allow API TOKENs to create robot accounts May 16, 2024
@jiparis jiparis merged commit c80474b into chainloop-dev:main May 16, 2024
@jiparis jiparis deleted the fix-761-ra branch May 16, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants