Skip to content

Investigate and solve the Backup Management Service Object ID being hardcoded in the dependency pipeline #937

Closed

Description

Description

Backup Management Service Object ID in Dependency Pipeline (KV Secrets) is hardcoded, and is unique per AAD Tenant. This will not function when CARML is being forked and deployed into another AAD tenant.

Ask

Find a mechanism to have this Principal ID (Object ID) being automated so that Key Vault Secrets Access Policy can assign the right permission.

Activity

  1. added
    enhancement
    [prio] high
    on Jan 27, 2022
  2. ahmadabdalla commented on Feb 8, 2022

    @ahmadabdalla
    ContributorAuthor

    More context:
    When deploying the dependency pipeline in my own tenant, and looking at the access policy for a KV. I can see that the principal ID being unknown:

    image

    which maps to:

            {
              "tenantId": "<<tenantId>>",
              "objectId": "bab643ad-2988-4560-9f2b-c8282ba345f0", // Backup Management Service needs access to back up the keys and secrets, along with the associated VMs
              "permissions": {
                "keys": [
  3. modified the milestones: v 0.4, on Feb 21, 2022
  4. removed this from the milestone on Mar 30, 2022
  5. eriqua commented on Apr 26, 2022

    @eriqua
    Contributor

    This is currently documented as a manual first step here. Automation would require additional AAD permission for the deployment SPN.

  6. rahalan commented on May 3, 2022

    @rahalan
    Contributor

    TODO: replace with Token from variables/settings

  7. added
    [cat] modules
    and removed
    [prio] high
    on May 3, 2022
  8. eriqua commented on Oct 5, 2022

    @eriqua
    Contributor

    To be rediscussed in the context of the new dependencies approach:
    Which is the module using this dependency and how would this be implemented in the new scenario?

  9. rahalan commented on Oct 6, 2022

    @rahalan
    Contributor

    Let's revisit until new dependency approach is in place

  10. rahalan commented on Jan 12, 2023

    @rahalan
    Contributor

    Ahmad Abdalla (@ahmadabdalla) can you please check if this is still the case? We couldn't find it in the code anymore. Thanks!

  11. rahalan commented on Jan 20, 2023

    @rahalan
    Contributor

    that issue is not relevant anymore

  12. moved this from Needs triage to Done in Backlogon Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [cat] modules[cat] needs further discussionenhancement

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions