Modernizing Access to Cloud Consoles and CLI with SCA

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Idira Success Blogs
13 min read
L4 Transporter

Modernizing Access to Cloud Consoles and CLI with SCA

Best Practice Summary:

Secure Cloud Access (SCA) introduces a modern, session-based management to privileged access on Cloud Service Provider (CSP) consoles and command-line interfaces (CLI). Instead of relying on long-lived credentials or shared admin accounts, usually accessed via Privileged Session Manager (PSM) or Secure Infrastructure Access (SIA), SCA enables just-in-time role assignments (JIT) for individual users, enforcing Zero Standing Privileges (ZSP). In practice, this means cloud admin privileges are granted JIT and removed when a session ends.

This best-practice guide outlines a step-by-step methodology to transition from legacy PSM/SIA-based cloud access to SCA’s JIT model. The focus is on non-built-in cloud accounts – i.e., personal admin accounts that currently have standing access to AWS, Azure, GCP consoles or CLIs – and how to convert those to ephemeral access through SCA policies. We will evaluate all existing standing access, develop a plan to replace it with SCA policies, and ensure that by the end of the process, no human interactive user remains with standing cloud privilege (with exceptions for break-glass accounts). This approach aligns with CyberArk’s modernization Blueprint for Identity Security, aiming to improve security posture while streamlining the user experience for cloud administration.

In summary, by implementing SCA, organizations achieve greater security (no standing privileges to exploit), full session monitoring (via Secure Web Sessions), and smoother access (native cloud UI with SSO) compared to traditional PSM/SIA methods. 

Audience

Security Architects / Subject Matter Experts (SMEs): They design the overall strategy for privileged access and will use this guide to shape the organization’s approach to cloud admin access. This includes establishing guiding concepts for policies in SCA and ensuring alignment with security frameworks (e.g., Zero Trust, compliance requirements). 

Administrators / Cloud Security Engineers: These are the implementers configuring SCA and managing cloud access changes. They will carry out tasks like integrating SCA with AWS/Azure/GCP, creating JIT access policies, enabling session monitoring, and migrating user access. The guide provides them with concrete steps, and best practices, for execution. 

Program Directors / IAM Managers: Senior stakeholders overseeing the project. They ensure resources and approvals for the migration, coordinate communication across teams, and track progress. This guide helps them understand the phased approach and expected outcomes, which is critical for planning and demonstrating value (e.g., showing reduction in standing access risk).

Benefits and Outcomes

This process aims to not only improve the security posture, but to also provide a more user and administrator friendly approach to long term Cloud Console usage and management.

There is a focus on the following benefits directly related to this process:

  1. Elimination of Standing Privileges

    1. Users no longer have a need for standing access to cloud platforms as SCA policies will be able to provide the same roles that they had before, JIT. This drastically reduces the attack surface for any vertical movement in the environment.

  2. Faster Onboarding and Revocation

    1. Onboarding a new admin is as simple as adding them to an SCA policy. This can be handled via AD group membership, Idira Identity role membership, or by direct assignment from the policy. All roles in the policy are inherited by these assignments, allowing instant access to admin permissions

    2. During offboarding, removal from the policy (removal of AD Group/Idira Role/Deletion of User) is instant.

    3. For emergency situations where a user needs immediate session revocation, SCA’s API allows for session revocation. This allows you to remove a user's permissions instantly by ending all of their SCA sessions which revokes entitlements on the cloud.

  3. User first focus to access (Native User Experience)

    1. Users get the standard cloud UI with an added security layer. This experience introduces a native way to access your CSP, while introducing fewer barriers to initial access as possible. Access, once approved, is granted instantly, improving productivity

    2. Access is granted instantly to end users through their own browser with SSO upon selecting their permissions (which then federates to AWS/Azure/GCP)

  4. Enhanced accountability of cloud portal sessions

    1. Through an integration with Secure Web Sessions, we can record individual actions, clicks, and keystrokes that take place in the UI. This will ensure that we capture the same data that would be normally collected via PSM and that all compliance and audit requirements are met. Data and logs can be fed into any connected Syslog integrations to get audit info directly to your collectors to make dashboards and alerts. Note: SWS doesn’t support CLI actions, though SCA event logs and traditional cloud provider logs will provide the full view into actions taken in the terminal.

  5. Reduced Operational costs

    1. Removal of connectors and PSM web/CLI proxies for cloud will reduce overhead costs environment wide. SCA is a SaaS solution, our infrastructure is entirely on the tenant side of the CSP by deploying AWS Stacks, Azure App Registrations, and GCP Service Accounts. Further, there is no need for RDP licenses, load balancers, and SSH proxies for this to all work.

    2. Upgrades and scaling of SCA are handled by CyberArk. This provides a more reliable service for end users, and less worry for Idira Administrators.

    3. An internal analysis of Total Cost of Ownership (TCO) shows that SCA is 16-32x less costly than PSM for an equivalent number of sessions.

  6. Aligns with Cloud Best Practices

    1. CSPs encourage the use of ephemeral credentials and federated access. SCA’s approach directly aligns with these concepts and reinforces proper key management of users with cloud entitlements.

    2. Implementing SCA can help an organization meet compliance controls (CIS Benchmarks, NIST AC Policies, etc) that call for minimizing standing privilege and using centralized authentication.

Overall, this transition to SCA results in a more secure and user-friendly state. Admins perform their jobs with less barriers, while security teams gain visibility and granular control. Audit and compliance stakeholders will see that every admin action is tracked, and that only break-glass accounts remain for “superuser” type permissions. Automatic updates and cloud native approaches to privilege, helps companies benefit from reduced maintenance and administrative overhead.

Implementation Steps

 

Implementation is handled in multiple phases. First prepare (pre-requisites), then communicate changes to the targeted team, followed by implementation of cloud architecture and policy setup. After implementation a pilot rollout occurs then final decommission of legacy access.

  1. Assess & Communicate

    • Inventory all cloud admin accounts w/ standing access. 

    • Communicate upcoming changes to stakeholders (Security, Cloud Owners, etc.)

  2. Configure SCA Policies

    • Create SCA JIT access policies for each needed cloud role. 

    • Integrate SCA w/ AWS/ AZure / GCP and enable session recording (SWS)

  3. Pilot Deployment

    • Onboard a pilot group of admins to use SCA exclusively. 

    • Gather Feedback, verify all use cases (console & CLI) are supported

  4. Full Rollout

    • Train and migrate all remaining users to SCA for cloud access

    • Provide support and ensure adoption of the new workflow.

  5. Remove Legacy Access

    • Gradually disable or delete standing access accounts and credentials once SCA in place for everyone.

    • Decommission PSM setups used for cloud.

  6. Audit & Optimize

    • Review audit logs and usage to ensure roles are right-sized and being used properly.

    • Adjust policies and document any exceptions.

Pre-requisites 

  • Must provide a list of accounts, with associated cloud entitlements

    1. The list must not contain accounts of the following types:

      1. It is a built-in account for that cloud provider, which should remain vaulted in a PAM solution like Privileged Cloud.

      2. The account is utilized as a service user or API access account in scripting or other applications. SCA is focused on interactive logins and machine to machine or app to app is better covered in Credentials Providers or Conjur.

      3. AWS Specific: The accounts have a mix of IAM roles and AWS Permission Sets

    2. The list must contain permissions that can be assigned to personal accounts

    3. Additionally, you may scan your cloud provider and view the associations of role and cloud user in the inspection results. This may uncover access that was previously unaccounted for.

      1. Connect cloud environments

        1. Onboarding

          1. AWS

          2. Azure

          3. GCP (Cloud Visibility)

        2. Identities Analysis Page

      2. Use the Discover cloud entities wizard for first-time setup

  • There is an assumption in this document that all access to cloud permissions and roles will be ultimately given to unique users and not “shared” accounts or similar user access types. 

    1. SCA’s escalation process utilizes the signed in user or a uniform approach to user escalation in the case of an “A/ADM” Account. Please see other best practice guides on the configuration of the web app to accommodate other user access models.

  • Azure and GCP: SCA Should be configured for direct role assignment

    1. Overview found here

Implementation Steps

  1. Communicate permission assignment changes to key org stakeholders

    1. This will include the following (typically)

      1. Cloud Owners

      2. Security Architects

      3. App Owners

    2. This communication should clearly outline the changes being implemented and highlight the move from statically permissioned accounts to JIT (Just in time) ZSP (Zero standing Privilege) access via personal accounts. Below are some topics you may want to communicate to teams:

      1. What is changing: “Cloud admin access will transition to a new system (SCA) with on-demand role assignment, and static admin accounts will be phased out.” 

      2. Who is affected: List teams or roles (e.g., “All AWS administrators”). 

      3. Why it’s beneficial: Emphasize security improvements (no standing privileges, compliance) and user experience improvements (no need for jump boxes, faster access). 

      4. Timeline: Give a high-level timeline (pilot, rollout, etc.) so they know what to expect. 

      5. Action required: Initially, it might just be “be aware and cooperate during the transition; training will be provided.” If you need info from them (like identifying accounts or confirming users), gather that now. Gaining buy-in is crucial. Cloud platform owners may be nervous about changes – reassure them that existing access will not be turned off until the new method is proven and that this is a collaborative effort to improve security. You will likely revisit communications throughout the process (especially before the full rollout to all users).

    3. This must be completed prior to policy creation as policy creation will allow users to get access to the web application required to initiate a connection via SCA and get roles assigned to them

  2. Onboard permissions and assign access to policies by Role or Team based access

    1. Initial Adoption Best Practices

    2. Policy Best Practices

    3. While the above doesn’t change access methods without SCA, while using SCA the user will be able to access roles so it's best to communicate change before making pilot policies

    4. It is also best practice to make sure, at a minimum, Step Recording and Session Protections are enabled in Secure Web Sessions. It is default enabled when turning on SWS at the web app level for SCA related web apps.

      1. Security layer settings are found here

  3. Begin pilot phase with a select number of users from each end user role

    1. An ideal scenario is to make a policy per pilot user as to not impact testing being done by other pilot users

      1. This will allow adjustments to be made for each user

      2. Policies should include every role the pilot user is allowed to access today

    2. The main goal will be to make sure workflows are kept the same, and help identify accounts and roles that should not be moved into SCA due to the limitations stated in the prerequisites

    3. Pilot users should also be trained on SCA prior to beginning the pilot phase

      1. Video Gallery

      2. End User Documentation

      3. Paid Training

      4. Any user guides generated by the Customer Idira Admin Team

  4. Communicate changes to the org and all users who will be impacted

    1. Include training material used during the pilot to help answer questions from users

  5. Begin removing static accounts and permissions from the Cloud Service Provider

    1. It should be initiated after a few months of consistent use from all cloud users. This helps establish there are no gaps in the current methods

      1. If there are gaps, document them during this phase and make exceptions for these scenarios to provide Security Architect’s key information about limitations with the implementation in your environment

    2. If the permission is not implemented into a policy, then it should not be removed from the static account. We are not removing permissions from the environment, merely shifting over to a ZSP structure 

  6. After a JIT ZSP model is achieved, and has been stable, begin auditing role and permission usage. This is to ensure that roles are being utilized properly and safely in the environment

    1. Use Audit logs from SCA to assist here

  • Events should be pushed to SIEM and processed to understand if access is being utilized

User Experience Impacts

Pro:

  • Provides a native experience to users as connections go through the user's browser rather than an RDP connection with PSM

  • Recording and Auditing is also more native to the browser through SWS via the browser extension

  • On-demand workflows allow for more dynamic workloads outside of the normal access for the user as they can request additional access via ITSM inside the tool

  • Security posture improvement as the accounts are both, no longer statically assigned, and roles are being managed JIT

Con:

  • Access is assigned directly to the end user account, not an anonymous account or ephemeral user

  • Entra Specific: Beyond portal.azure.com, direct access to other areas in Entra is not supported today, even if SCA supports adding Entra ID roles. Ex: SCA can assign Teams Admin (Entra ID role) to users, but there is no feature to send them to teams.microsoft.com when selecting the Azure Web App in the Identity Portal. Users will always be sent to portal.azure.com until there is a feature to change this

    1. Note: Users can still initiate the session to get the role, then pivot, in the same browser session, to the correct admin portal in azure

      1. Use the “Manual Mode” configuration in SWS to make sure the sessions are recorded

      2. Consider publishing the common terminals for Azure as separate bookmarked web apps for end users. This helps improve the user experience but may cause confusion if the user is only selecting these extra portal links thinking they have SCA enabled on them. Only the primary Azure Portal web app will provide entitlements

  • Elevation through CLI cannot be achieved currently. End user must go first to SCA UI to have relevant entitlements prior connecting through CLI.

  • Entitlement selection is limited per SCA launch:

    1. Azure:

      1. Users can access subscriptions, resource groups, and resources with up to 5 roles simultaneously

      2. Users can access their Microsoft Entra ID directory at the directory level with up to 3 roles simultaneously

    2. AWS:

      1. Users can sign in to AWS IAM Identity Center with up to 3 permission sets simultaneously

    3. GCP

      1. Users can sign in with up to 5 roles simultaneously

  • End users who are logged in to the IDP with multiple accounts within the same browser (e.g. Entra ID) may be redirected to portal.azure.com with the last used/logged account. One extra manual step will have to be done by end users to use the relevant account.

 

Additional Information

Include any references or additional resources like whitepapers, industry sources that corroborate this best practice.

 

  • 811 Views
  • 0 comments
  • 0 Likes
Top Liked Authors