Enonic version: Cloud and Self-hosted (7.15.latest)
OS: Enonic CLI 3.3.1
.
I have a enonic Cloud instance and a self-hosted instance, both for testing purpose.
Consider I’m referring to users from System Id Provider (a.k.a. service accounts).
.
On web version of XP Admin, users with roles system.admin+system.admin.login can login and deploy an application (via market or via jar upload).
Using the proper auth, app deploy also works for self-hosted enonic instances via enonic CLI.
But the same is not true (it asks for enonic cloud console web logon) for enonic Cloud instances, since it’s only possible through web version of XP Admin (for users with roles system.admin+system.admin.login).
.
My guess is that’s not possible due to closed management ports on enonic Cloud, maybe!?
But then I question why we have a limited set of enonic cli commands for Cloud.
For me it doesn’t make sense.
.
So I need somebody that knows how I can handle deployments using command line with minimal interactions, just like I can do with self-hosted enonic XP (via CLI).
Hi William.
Sorry for the late response.
- The management API is not exposed by default in Enonic Cloud production instances. Open a support ticket to get this exposed safely
- Regarding “console.enonic.com” this is currently a beta-service - only used for our free plan. It has limited functionality. Once the service is ready for production you will be able to perform a more extensive set of actions per instance. Wow it works from CLI is subject to change.
2 Likes