# File lib/fog/aws/models/iam/user.rb, line 18 def attach(policy_or_arn) requires :identity arn = if policy_or_arn.respond_to?(:arn) policy_or_arn.arn else policy_or_arn end service.attach_user_policy(self.identity, arn) end