<?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/1.0.0/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/1.0.0/docs/data_privacy/synth_data/index.xml" rel="self" type="application/rss+xml"/><item><title>Prerequisites</title><link>https://docs.protegrity.com/aiteam-edition/1.0.0/docs/data_privacy/synth_data/prereqs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/1.0.0/docs/data_privacy/synth_data/prereqs/</guid><description>&lt;p>Ensure the following prerequisites are met:&lt;/p>
&lt;ol>
&lt;li>
&lt;p>&lt;strong>AWS Setup&lt;/strong>:&lt;/p>
&lt;ul>
&lt;li>A Protegrity Provisioned Cluster (PPC) is available.&lt;br>
For more information about PPC, refer to &lt;a href="https://docs.protegrity.com/aiteam-edition/1.0.0/docs/infrastructure/ppc/">Protegrity Provisioned Cluster&lt;/a>.&lt;/li>
&lt;li>An AWS account with CLI credentials for configuring AWS is available.&lt;/li>
&lt;li>An existing VPC with at least two private subnets is available.&lt;/li>
&lt;li>An S3 bucket for storing Synthetic Data artifacts is available. The S3 bucket should not be KMS encrypted. The bucket must use default SSE-S3 encryption or no encryption.&lt;/li>
&lt;li>An IAM role (for example, &lt;code>arn:aws:iam::&amp;lt;Account_ID&amp;gt;:role/&amp;lt;Role_Name&amp;gt;&lt;/code>) with the required S3 permissions (&lt;code>s3:ListBucket&lt;/code>, &lt;code>s3:GetObject&lt;/code>, &lt;code>s3:PutObject&lt;/code>, &lt;code>s3:DeleteObject&lt;/code>) must exist before installation.&lt;/li>
&lt;li>Ensure that the jumpbox can connect to the required repositories. If not already authenticated, then log in to the required repository.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ol>
&lt;ul>
&lt;li>For connecting and deploying from the Protegrity Container Registry (PCR), use the following command and the credentials obtained from the My.Protegrity portal during &lt;a href="https://docs.protegrity.com/aiteam-edition/1.0.0/docs/infrastructure/obtainingcreds/">account creation&lt;/a>:&lt;/li>
&lt;/ul>
&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-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>helm registry login registry.protegrity.com:9443
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>For connecting and deploying to the local repository, use your local credentials and local repository endpoint as required.&lt;/li>
&lt;li>Obtain the AMI ID for the EKS GPU-optimized image (&lt;code>al2023-x86_64-nvidia-1.34-*&lt;/code>) that corresponds to your deployment region.&lt;/li>
&lt;/ul>
&lt;blockquote>
&lt;p>&lt;strong>Note&lt;/strong>: Each AWS region has a unique AMI ID.&lt;/p></description></item><item><title>Installing Protegrity Synthetic Data</title><link>https://docs.protegrity.com/aiteam-edition/1.0.0/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/1.0.0/docs/data_privacy/synth_data/install_synth_data/</guid><description>&lt;h2 id="helm-deployment">Helm Deployment&lt;/h2>
&lt;p>This project deploys the Protegrity Synthetic Data stack on Amazon EKS as a Protegrity AI Team Edition Feature.
It uses Helm to deploy Kubernetes workloads.&lt;/p>
&lt;h2 id="deployment-steps">Deployment Steps&lt;/h2>
&lt;h3 id="1-prepare-configuration">1. Prepare Configuration&lt;/h3>
&lt;ol>
&lt;li>
&lt;p>Create a namespace for the deployment.&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 create namespace syntheticdata-ns
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;li>
&lt;p>Create a Kubernetes secret using the &lt;strong>static&lt;/strong> IAM access keys for S3 bucket access.&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 -n syntheticdata-ns create secret generic synthobjectstore-creds &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>--from-literal&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>&lt;span style="color:#000">access_key&lt;/span>&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>YOUR_STATIC_ACCESS_KEY_ID &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>--from-literal&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>&lt;span style="color:#000">secret_key&lt;/span>&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>YOUR_STATIC_SECRET_ACCESS_KEY
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;blockquote>
&lt;p>&lt;strong>Note&lt;/strong>: Use static access keys, not temporary session credentials, when creating this secret. These keys allow the Synthetic Data service to access the configured S3 bucket.&lt;/p></description></item><item><title>Configuring Protegrity Synthetic Data</title><link>https://docs.protegrity.com/aiteam-edition/1.0.0/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/1.0.0/docs/data_privacy/synth_data/configure_synth_data/</guid><description>&lt;h2 id="update-role-permission-and-create-user">Update Role Permission and Create User&lt;/h2>
&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;h3 id="step-1-update-syntheticdata_administrator-role-permission">Step 1: Update &lt;code>syntheticdata_administrator&lt;/code> role permission&lt;/h3>
&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;/code>&lt;/pre>&lt;/div>&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"># 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;h3 id="step-2-create-user-with-syntheticdata_administrator-role-attached">Step 2: Create user with &lt;code>syntheticdata_administrator&lt;/code> role attached&lt;/h3>
&lt;p>Use the following request payload when creating the user:&lt;/p></description></item><item><title>Uninstalling and Cleanup Protegrity Synthetic Data</title><link>https://docs.protegrity.com/aiteam-edition/1.0.0/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/1.0.0/docs/data_privacy/synth_data/uninstall_synth_data/</guid><description>&lt;p>To remove the Synthetic Data and all associated Kubernetes resources:&lt;/p>
&lt;ol>
&lt;li>Clear the deployed release.&lt;/li>
&lt;/ol>
&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>helm uninstall pty-synthetic-data -n syntheticdata-ns --wait --timeout 420s
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ol start="2">
&lt;li>Delete the S3 credentials secret.&lt;/li>
&lt;/ol>
&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 secret/synthobjectstore-creds -n syntheticdata-ns
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ol start="3">
&lt;li>Delete the persistent volume claim.&lt;/li>
&lt;/ol>
&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 pvc/syn-db-persistent-storage-syn-db-depl-0 -n syntheticdata-ns
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ol start="4">
&lt;li>Clear the namespace.&lt;/li>
&lt;/ol>
&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 syntheticdata-ns 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Optionally clean up any S3 artifacts that are no longer needed.&lt;/p></description></item></channel></rss>