<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Protegrity Synthetic Data on</title><link>https://docs.protegrity.com/aiteam-edition/docs/data_privacy/synth_data/</link><description>Recent content in Protegrity Synthetic Data on</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.protegrity.com/aiteam-edition/docs/data_privacy/synth_data/index.xml" rel="self" type="application/rss+xml"/><item><title>Prerequisites</title><link>https://docs.protegrity.com/aiteam-edition/docs/data_privacy/synth_data/prereqs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/docs/data_privacy/synth_data/prereqs/</guid><description>&lt;p>Ensure the following prerequisites are met:&lt;/p>
&lt;h3 id="tools">Tools&lt;/h3>
&lt;p>Install and configure the following tools on the jumpbox:&lt;/p>
&lt;ul>
&lt;li>&lt;code>opentofu&lt;/code> 1.10 or later. Refer to &lt;a href="https://opentofu.org/docs/intro/install">OpenTofu Installation&lt;/a>.&lt;/li>
&lt;li>&lt;code>helm&lt;/code> 3.12+, &lt;code>kubectl&lt;/code> 1.27+, and &lt;code>aws&lt;/code> CLI v2 with access to the Protegrity Provisioned Cluster (PPC).&lt;/li>
&lt;/ul>
&lt;h3 id="aws-setup">AWS Setup&lt;/h3>
&lt;p>Ensure that the following AWS requirements are met:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>A Protegrity Provisioned Cluster (PPC) is available. For more information, refer to &lt;a href="https://docs.protegrity.com/aiteam-edition/1.1.0/docs/infrastructure/ppc/">Protegrity Provisioned Cluster&lt;/a>.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>AWS CLI credentials are configured by using &lt;code>aws configure&lt;/code>.&lt;/p></description></item><item><title>Installing Protegrity Synthetic Data</title><link>https://docs.protegrity.com/aiteam-edition/docs/data_privacy/synth_data/install_synth_data/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/docs/data_privacy/synth_data/install_synth_data/</guid><description>&lt;blockquote>
&lt;p>&lt;strong>Note&lt;/strong>: This guide uses version &lt;code>2.1.0&lt;/code> throughout. Replace &lt;code>2.1.0&lt;/code> with the version you are installing, including in the &lt;a href="https://docs.protegrity.com/aiteam-edition/docs/using_synth_data/py_sdk_install/">Python SDK Installation&lt;/a> section.&lt;/p>&lt;/blockquote>
&lt;p>This section describes how to deploy Protegrity Synthetic Data on Amazon EKS as part of Protegrity AI Team Edition.&lt;br>
It uses OpenTofu to provision cloud infrastructure, such as S3, IAM, and Karpenter. It also generates the &lt;code>syntheticdata-values.yaml&lt;/code> file that Helm uses to deploy Kubernetes workloads.&lt;/p>
&lt;h3 id="deployment-steps">Deployment Steps&lt;/h3>
&lt;h4 id="1-provision-cloud-infrastructure-with-opentofu">1. Provision Cloud Infrastructure with OpenTofu&lt;/h4>
&lt;p>The OpenTofu module creates the S3 bucket, IAM role, EKS Pod Identity association, and Karpenter NodePool. It also writes &lt;code>syntheticdata-values.yaml&lt;/code> with cloud-specific Helm overrides.&lt;/p></description></item><item><title>Configuring Protegrity Synthetic Data</title><link>https://docs.protegrity.com/aiteam-edition/docs/data_privacy/synth_data/configure_synth_data/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/docs/data_privacy/synth_data/configure_synth_data/</guid><description>&lt;blockquote>
&lt;p>&lt;strong>Warning&lt;/strong>: Use the &lt;code>-k&lt;/code> flag only in development or trusted internal environments. Do not use it in production, where valid certificates must be configured.&lt;/p>&lt;/blockquote>
&lt;h3 id="role-update-and-user-creation">Role Update and User Creation&lt;/h3>
&lt;p>After deployment, update the default &lt;code>syntheticdata_administrator&lt;/code> role to include &lt;code>can_create_token&lt;/code> permission. Then create a user with this role.&lt;/p>
&lt;h4 id="1-update-syntheticdata_administrator-role-permission">1. Update &lt;code>syntheticdata_administrator&lt;/code> role permission&lt;/h4>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#204a87">export&lt;/span> &lt;span style="color:#000">GATEWAY_URL&lt;/span>&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>&lt;span style="color:#4e9a06">&amp;#34;https://&lt;/span>&lt;span style="color:#204a87;font-weight:bold">$(&lt;/span>kubectl get configmap/nfa-config -n default -o &lt;span style="color:#000">jsonpath&lt;/span>&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>&lt;span style="color:#4e9a06">&amp;#39;{.data.FQDN}&amp;#39;&lt;/span>&lt;span style="color:#204a87;font-weight:bold">)&lt;/span>&lt;span style="color:#4e9a06">&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#8f5902;font-style:italic"># 1. Obtain an Authentication Token&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#000">TOKEN&lt;/span>&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>&lt;span style="color:#204a87;font-weight:bold">$(&lt;/span>curl -sk -X POST &lt;span style="color:#4e9a06">&amp;#34;&lt;/span>&lt;span style="color:#4e9a06">${&lt;/span>&lt;span style="color:#000">GATEWAY_URL&lt;/span>&lt;span style="color:#4e9a06">}&lt;/span>&lt;span style="color:#4e9a06">/api/v1/auth/login/token&amp;#34;&lt;/span> &lt;span style="color:#4e9a06">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#4e9a06">&lt;/span> -H &lt;span style="color:#4e9a06">&amp;#39;Content-Type: application/x-www-form-urlencoded&amp;#39;&lt;/span> &lt;span style="color:#4e9a06">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#4e9a06">&lt;/span> -d &lt;span style="color:#4e9a06">&amp;#39;loginname=admin&amp;amp;password=Admin123!&amp;#39;&lt;/span> &lt;span style="color:#4e9a06">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#4e9a06">&lt;/span> -D - -o /dev/null &lt;span style="color:#000;font-weight:bold">|&lt;/span> grep -i &lt;span style="color:#4e9a06">&amp;#39;pty_access_jwt_token&amp;#39;&lt;/span> &lt;span style="color:#000;font-weight:bold">|&lt;/span> awk &lt;span style="color:#4e9a06">&amp;#39;{print $2}&amp;#39;&lt;/span> &lt;span style="color:#000;font-weight:bold">|&lt;/span> tr -d &lt;span style="color:#4e9a06">&amp;#39;\r\n&amp;#39;&lt;/span>&lt;span style="color:#204a87;font-weight:bold">)&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>curl -sk -X PUT &lt;span style="color:#4e9a06">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#4e9a06">&lt;/span> &lt;span style="color:#4e9a06">&amp;#34;&lt;/span>&lt;span style="color:#4e9a06">${&lt;/span>&lt;span style="color:#000">GATEWAY_URL&lt;/span>&lt;span style="color:#4e9a06">}&lt;/span>&lt;span style="color:#4e9a06">/pty/v1/auth/roles&amp;#34;&lt;/span> &lt;span style="color:#4e9a06">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#4e9a06">&lt;/span> -H &lt;span style="color:#4e9a06">&amp;#39;accept: application/json&amp;#39;&lt;/span> &lt;span style="color:#4e9a06">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#4e9a06">&lt;/span> -H &lt;span style="color:#4e9a06">&amp;#34;Authorization: Bearer &lt;/span>&lt;span style="color:#4e9a06">${&lt;/span>&lt;span style="color:#000">TOKEN&lt;/span>&lt;span style="color:#4e9a06">}&lt;/span>&lt;span style="color:#4e9a06">&amp;#34;&lt;/span> &lt;span style="color:#4e9a06">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#4e9a06">&lt;/span> -H &lt;span style="color:#4e9a06">&amp;#39;Content-Type: application/json&amp;#39;&lt;/span> &lt;span style="color:#4e9a06">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#4e9a06">&lt;/span> -d &lt;span style="color:#4e9a06">&amp;#39;{
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#4e9a06"> &amp;#34;name&amp;#34;: &amp;#34;syntheticdata_administrator&amp;#34;,
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#4e9a06"> &amp;#34;description&amp;#34;: &amp;#34;Administrator role&amp;#34;,
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#4e9a06"> &amp;#34;permissions&amp;#34;: [
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#4e9a06"> &amp;#34;can_create_token&amp;#34;,
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#4e9a06"> &amp;#34;syntheticdata_operations_admin&amp;#34;
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#4e9a06"> ]
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#4e9a06"> }&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="2-create-a-user-with-the-syntheticdata_administrator-role-attached">2. Create a user with the &lt;code>syntheticdata_administrator&lt;/code> role attached&lt;/h4>
&lt;p>Use the following request payload when creating the user:&lt;/p></description></item><item><title>Uninstallation and Cleanup Protegrity Synthetic Data</title><link>https://docs.protegrity.com/aiteam-edition/docs/data_privacy/synth_data/uninstall_synth_data/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/docs/data_privacy/synth_data/uninstall_synth_data/</guid><description>&lt;p>To remove the Synthetic Data service and all associated Kubernetes and AWS resources:&lt;/p>
&lt;h4 id="1-uninstall-the-helm-release">1. Uninstall the Helm release&lt;/h4>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#8f5902;font-style:italic"># Removes all chart resources. PVC data is RETAINED by default (retentionPolicy: whenDeleted=Retain).&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>helm uninstall synthetic-data -n synthetic-data-ns
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#8f5902;font-style:italic"># To also delete the database PVC:&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kubectl delete pvc -n synthetic-data-ns -l app.kubernetes.io/name&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>synthetic-data
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Optionally, delete the namespace after all resources are deleted:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>kubectl delete namespace synthetic-data-ns
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="2-destroy-opentofu-infrastructure">2. Destroy OpenTofu infrastructure&lt;/h4>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#8f5902;font-style:italic"># Destroys Karpenter nodes, IAM role, Pod Identity association, and S3 bucket.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>tofu destroy -var&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>&lt;span style="color:#4e9a06">&amp;#34;cluster_name=&amp;lt;CLUSTER_NAME&amp;gt;&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;blockquote>
&lt;p>&lt;strong>Note&lt;/strong>: By default, &lt;code>tofu destroy&lt;/code> prompts for confirmation before deleting resources. Add &lt;code>-auto-approve&lt;/code> to skip the prompt.&lt;/p></description></item></channel></rss>