unable to specify IDP name when creating one from ocm
erwangranger opened this issue · 1 comments
erwangranger commented
Hello,
I was creating a new IDP using a command similar to:
ocm create idp --cluster=my_cluster \
--type=github \
--mapping-method claim \
--organizations my_gh_org \
--client-id 123456 \
--client-secret 123456
I searched for a way to specify the name of the IDP, but I was not able to find it.
Instead, as-is, it creates an IDP called "github-1". (see
ocm-cli/cmd/ocm/create/idp/cmd.go
Line 269 in ee500b9
If I do the same step in the Web Interface, I am able to choose the name I want:
I think it would be really helpful to be able to specify that name even if using the ocm
cli, so as not to end up with generic github-1, github-2, ldap-1, ldap-2.
Thanks.
erwangranger commented
Thanks for the very fast turnaround on this! I will definitely be using this in the future.