Home Forums Data Warehousing Integration Services Security - when "EncryptSensitiveWithUserKey" does the user have to be the developer? RE: Security - when "EncryptSensitiveWithUserKey" does the user have to be the developer?

  • winston Smith (7/5/2013)


    We have a package with sensitive data so encryptWithUserKey, and then run in the SQL Agent using a proxy is the best option.

    But, we want to use a specific proxy account,and dont want to create a proxy for the developers account.

    Is it possible to set what account the package uses to EncryptWithUserKey?

    I would tend to use something other than EncryptSensitiveWithUserKey. I would probably more likely use EncryptSensitiveWithPassword or EncryptAllWithPassword. In general I try not to store ANYTHING sensitive in the package itself. This means that even if the EncryptSensitiveWithUserKey is set it won't actually do anything.

    I would not want to have a developers account as a proxy. The effect of that would be to potentially give the developer elevated rights to production resources.

    As far as whether you can tell what account was used to save the package I'm not sure you can KNOW but you might be able to see the creator name in the package properties. But that is the creator, NOT the last saved..

    CEWII