{"action":"created","issue":{"url":"https://api.github.com/repos/KrauseFx/fastlane/issues/380","labels_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/380/comments","events_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/380/events","html_url":"https://github.com/KrauseFx/fastlane/pull/380","id":91986349,"number":380,"title":"Add actions for certificate","user":{"login":"gin0606","id":795891,"avatar_url":"https://avatars.githubusercontent.com/u/795891?v=3","gravatar_id":"","url":"https://api.github.com/users/gin0606","html_url":"https://github.com/gin0606","followers_url":"https://api.github.com/users/gin0606/followers","following_url":"https://api.github.com/users/gin0606/following{/other_user}","gists_url":"https://api.github.com/users/gin0606/gists{/gist_id}","starred_url":"https://api.github.com/users/gin0606/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gin0606/subscriptions","organizations_url":"https://api.github.com/users/gin0606/orgs","repos_url":"https://api.github.com/users/gin0606/repos","events_url":"https://api.github.com/users/gin0606/events{/privacy}","received_events_url":"https://api.github.com/users/gin0606/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-30T05:23:56Z","updated_at":"2015-07-01T09:24:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/KrauseFx/fastlane/pulls/380","html_url":"https://github.com/KrauseFx/fastlane/pull/380","diff_url":"https://github.com/KrauseFx/fastlane/pull/380.diff","patch_url":"https://github.com/KrauseFx/fastlane/pull/380.patch"},"body":"I add actions for signing in CircleCI/TravisCI.\r\n\r\n# Usage\r\n```ruby\r\n# I set this ENVs in CircleCI Environment variables \r\nENV['KEYCHAIN_NAME'] = \"ios-build.keychain\"\r\nENV['KEYCHAIN_PASSWORD'] = \"very_important_password!\"\r\n\r\ncreate_keychain(\r\n  default_keychain: true,\r\n  unlock: true,\r\n  timeout: 3600,\r\n  lock_when_sleeps: true\r\n)\r\nimport_certificate certificate_path: \"certs/AppleWWDRCA.cer\"\r\nimport_certificate certificate_path: \"certs/dist.p12\", certificate_password: ENV['MY_DIST_CERT_PASSWORD']\r\n```\r\n\r\n# Could you help me\r\nsh method in `actions_helper.rb` is output args.\r\nBut that behavior is not good for sensitive data\r\n\r\nthis is `import_certificate` action log.\r\n\r\n```\r\n[21:57:43]: --------------------------------\r\n[21:57:43]: --- Step: import_certificate ---\r\n[21:57:43]: --------------------------------\r\n[21:57:43]: [SHELL COMMAND]: security import certs/dist.p12 -k ~/Library/Keychains/ios-build.keychain -P very_important_password! -T /usr/bin/codesign\r\n[21:57:43]: [SHELL]: 1 identity imported.\r\n```\r\n\r\nthat output my `very_important_password!` in shell.\r\nI don't want to output my passowrd.\r\n\r\nDo you have something idea or best way?"},"comment":{"url":"https://api.github.com/repos/KrauseFx/fastlane/issues/comments/117559093","html_url":"https://github.com/KrauseFx/fastlane/pull/380#issuecomment-117559093","issue_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/380","id":117559093,"user":{"login":"KrauseFx","id":869950,"avatar_url":"https://avatars.githubusercontent.com/u/869950?v=3","gravatar_id":"","url":"https://api.github.com/users/KrauseFx","html_url":"https://github.com/KrauseFx","followers_url":"https://api.github.com/users/KrauseFx/followers","following_url":"https://api.github.com/users/KrauseFx/following{/other_user}","gists_url":"https://api.github.com/users/KrauseFx/gists{/gist_id}","starred_url":"https://api.github.com/users/KrauseFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrauseFx/subscriptions","organizations_url":"https://api.github.com/users/KrauseFx/orgs","repos_url":"https://api.github.com/users/KrauseFx/repos","events_url":"https://api.github.com/users/KrauseFx/events{/privacy}","received_events_url":"https://api.github.com/users/KrauseFx/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T09:24:54Z","updated_at":"2015-07-01T09:24:54Z","body":"Ohhh, sorry, I meant:\r\n\r\n```ruby\r\n`${command}`\r\n```"}}