-
Notifications
You must be signed in to change notification settings - Fork 330
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
Adds cli app add
command, changes in entra app add
and app set
Closes #1963
#5985
base: main
Are you sure you want to change the base?
Conversation
Awesome work @mkm17, we'll try to review it ASAP! |
Hi @mkm17, I can give you a few answers
Seems like the right location indeed.
This is to set the name of the app? Looks like a good enhancement to me.
Strangely, the only way I know how to set a default app ID is by using environment variables. Since @waldekmastykarz created the issue a few years ago, let's ask him if he still remembers what we had to do for this task.
In the command
We'll have a look at it during the review. Great work! |
Correct, that said, we can totally add the option to set the app ID in CLI's settings if that's more convenient for general use. |
@milanholemans ok, I'll modify the function to generate a password and update the code @waldekmastykarz Do you mean to extend the In What do you think? |
Correct, we'd introduce two new config values like you suggested. Then, in our auth logic, we'd use them on top of existing env vars. So the order is: custom config values, env vars, default.
Good idea. I suggest a name like |
@waldekmastykarz Alright, let's proceed like this: we can hold off on merging/reviewing this pull request for now. Instead, I'll open a new issue to outline the changes needed for the |
I'll mark this PR as draft until the necessary changes are in |
Adds
cli app add
command, changes inentra app add
andapp set
Closes #1963
Hello, the PR adds a new command
cli app add
.As described in issue #1963, the PR also includes changes to
entra app add
andentra app set
to extract some common code into utility files.Regarding this command and all changes, I have some additional points to confirm:
cli app add
command, I've added the 'name' parameter, which wasn't defined initially in the scope of the task.cli config set
, but as I understand, there's no option to set the default app ID using this command yet.I am looking forward to all comments and suggestions.