<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Possible to Add File to Safe Using REST API? in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/possible-to-add-file-to-safe-using-rest-api/m-p/1354112#M45103</link>
    <description>&lt;P&gt;This isn't possible. The only 'workaround' is treating an account object like a file object and storing the file content in the Password field (first serializing to base64 beforehand) but this feels a bit dirty and who knows what the limitations are (file size, etc.)&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2023 08:54:32 GMT</pubDate>
    <dc:creator>T.Schindler381412</dc:creator>
    <dc:date>2023-06-27T08:54:32Z</dc:date>
    <item>
      <title>Possible to Add File to Safe Using REST API?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/possible-to-add-file-to-safe-using-rest-api/m-p/1354111#M45102</link>
      <description>&lt;P&gt;Is there any way to add a file to a safe using REST API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this one how-to article https://community.cyberark.com/s/article/How-to-upload-files-using-REST-and-Powershell but it seems misleading as to what it actually does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I go looking for more information on "api/platforms/import" I find this documentation https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/12.2/en/Content/WebServices/ImportPlatform.htm?tocpath=Developer%7CREST%20APIs%7CPlatforms%7C_____3 which seems to indicate the true purpose is for importing platforms and not uploading \ importing files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only other mention I find of somewhat programmatic import is PACLI which isn't what we're looking for.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 17:15:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/possible-to-add-file-to-safe-using-rest-api/m-p/1354111#M45102</guid>
      <dc:creator>DanRidgeway</dc:creator>
      <dc:date>2023-06-26T17:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to Add File to Safe Using REST API?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/possible-to-add-file-to-safe-using-rest-api/m-p/1354112#M45103</link>
      <description>&lt;P&gt;This isn't possible. The only 'workaround' is treating an account object like a file object and storing the file content in the Password field (first serializing to base64 beforehand) but this feels a bit dirty and who knows what the limitations are (file size, etc.)&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 08:54:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/possible-to-add-file-to-safe-using-rest-api/m-p/1354112#M45103</guid>
      <dc:creator>T.Schindler381412</dc:creator>
      <dc:date>2023-06-27T08:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to Add File to Safe Using REST API?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/possible-to-add-file-to-safe-using-rest-api/m-p/1354113#M45104</link>
      <description>&lt;P&gt;Thanks, Tim. That's the general sense I was getting after looking around. I know we can add files to safe using PVWA or PrivateArk client, but we were hoping this was exposed via API.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 13:21:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/possible-to-add-file-to-safe-using-rest-api/m-p/1354113#M45104</guid>
      <dc:creator>DanRidgeway</dc:creator>
      <dc:date>2023-06-27T13:21:38Z</dc:date>
    </item>
  </channel>
</rss>

