Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    2 Resource Credentials with the same name but assign to 2 environnements or more not working

    Scheduled Pinned Locked Moved Support
    buildmaster
    4 Posts 3 Posters 21 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      PhilippeC.
      last edited by

      Hello

      I am looking to use the same account for some plan but its password is not the same depending on the environment it is applied.
      It can use in the plan $CredentialProperty() and get a different password depending on the environnement it is apply.

      Ressource Credential:

      ADACCOUNT => login:ADAccount / pwd:simplepassaword assign to TEST environnement
      ADACCOUNT => login:ADAccount / pwd:verycomplexpassword assign to PROD environnement
      

      Unfortunately, there is a constraint violation

      System.Data.SqlClient.SqlException (0x80131904): 2627`14`1`Credentials_CreateOrUpdateCredential`21`Violation de la contrainte UNIQUE KEY Β« UQ__Credentials Β». blablabla
      

      It is a bug ?
      If not, it would be a very useful feature

      Adding the ability to assign the credentail to multiple environment would be better:).
      (One to TEST, DEV, INTEGRATION and the second one to (PROD and PRA) for example.

      Best regards

      Philippe

      Product: BuildMaster
      Version: 6.1.0

      1 Reply Last reply Reply Quote 0
      • jraschJ Offline
        jrasch inedo-engineer
        last edited by

        Hi Philippe,

        I know it's been a while since this question was posted, but just wanted to let you know that we will soon be supporting the behavior in Otter of allowing multiple resource credentials of the same name that differ only by environment.

        We are still in the process of determining the UI (e.g. allowing selection of multiple environments at once) but at least the core functionality you described will work.

        This is being targeted for Otter v2.2.5 due out July 26.

        Hope this helps,
        -John

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Hi John
          Thanks for this reply.
          I needed such feature for BuildmasterπŸ˜‚, but in Otter it is good too πŸ˜€

          1 Reply Last reply Reply Quote 0
          • jraschJ Offline
            jrasch inedo-engineer
            last edited by

            Aha, it will also be included in BuildMaster... not sure why I got stuck on Otter. I guess it was on my mind because we just had a maintenance release today :)

            This feature is also scheduled for BuildMaster v6.1.10 on July 19

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better πŸ’—

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation