Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement service account CRUD commands #216

Merged
merged 7 commits into from
Jan 14, 2021
Merged

Conversation

craicoverflow
Copy link
Contributor

@craicoverflow craicoverflow commented Jan 13, 2021

This PR implements the service account CRUD API into the CLI.

Verification

  1. Create a service account:
$ rhoas serviceaccount create -o json --name my-svc-acct
  1. Reset credentials for a service account
$ rhoas serviceaccount reset-credentials --id <svc-acct-id> -o json
  1. Delete a service account
$ rhoas serviceaccount delete --id <svc-acct-id>
  1. List all service accounts in your user organisation
$ rhoas serviceaccount list

@craicoverflow craicoverflow changed the title [WIP] Serviceaccount commands Implement service account CRUD commands Jan 14, 2021
@craicoverflow craicoverflow requested a review from wtrocki January 14, 2021 13:59
@craicoverflow craicoverflow merged commit 3e2f9bc into main Jan 14, 2021
@craicoverflow craicoverflow deleted the serviceaccounts branch January 14, 2021 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant