From d0155494cd8e8549588dab3d14acb81013cb3d4c Mon Sep 17 00:00:00 2001 From: Mary Dickson Date: Wed, 3 Dec 2025 09:41:35 -0800 Subject: [PATCH] fix typos Signed-off-by: Mary Dickson --- code_samples/java/encrypt-collection-example.mdx | 2 +- code_samples/policy_code/create_namespace.mdx | 2 +- code_samples/policy_code/create_subject_condition_set.mdx | 4 ++-- docs/introduction.mdx | 2 +- docs/sdks/tdf.mdx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/code_samples/java/encrypt-collection-example.mdx b/code_samples/java/encrypt-collection-example.mdx index c65e057..e3a4d71 100644 --- a/code_samples/java/encrypt-collection-example.mdx +++ b/code_samples/java/encrypt-collection-example.mdx @@ -26,7 +26,7 @@ public class EncryptCollectionExample { var tdfConfig = Config.newNanoTDFConfig( Config.withNanoKasInformation(kasInfo), - Config.witDataAttributes("https://example.com/attr/attr1/value/value1"), + Config.withDataAttributes("https://example.com/attr/attr1/value/value1"), Config.withCollection() ); diff --git a/code_samples/policy_code/create_namespace.mdx b/code_samples/policy_code/create_namespace.mdx index 58dcb3d..e3d7015 100644 --- a/code_samples/policy_code/create_namespace.mdx +++ b/code_samples/policy_code/create_namespace.mdx @@ -31,7 +31,7 @@ func main() { log.Fatal(err) } - // Create Namesapce + // Create Namespace namespace := &namespaces.CreateNamespaceRequest{ Name: "opentdf.io", } diff --git a/code_samples/policy_code/create_subject_condition_set.mdx b/code_samples/policy_code/create_subject_condition_set.mdx index 447f306..3cb88b3 100644 --- a/code_samples/policy_code/create_subject_condition_set.mdx +++ b/code_samples/policy_code/create_subject_condition_set.mdx @@ -34,7 +34,7 @@ func main() { // Create Subject Condition Set - coditionset := &subjectmapping.CreateSubjectConditionSetRequest{ + conditionset := &subjectmapping.CreateSubjectConditionSetRequest{ SubjectConditionSet: &subjectmapping.SubjectConditionSetCreate{ SubjectSets: []*policy.SubjectSet{ { @@ -55,7 +55,7 @@ func main() { }, } - log, err := client.SubjectMapping.CreateSubjectConditionSet(context.Background(), coditionset) + resp, err := client.SubjectMapping.CreateSubjectConditionSet(context.Background(), conditionset) if err != nil { log.Fatal(err) } diff --git a/docs/introduction.mdx b/docs/introduction.mdx index fc62981..d42adf0 100644 --- a/docs/introduction.mdx +++ b/docs/introduction.mdx @@ -28,7 +28,7 @@ Find all the information you need to get started with OpenTDF. { name: "TDF", description: ` - The Trust Data Format (TDF) is an open standard that enables the cryptographic binding ofattribute-based + The Trust Data Format (TDF) is an open standard that enables the cryptographic binding of attribute-based access control (ABAC) policy to a data object so that the policy travels with the data.`, url: "/spec/schema/opentdf", }, diff --git a/docs/sdks/tdf.mdx b/docs/sdks/tdf.mdx index 0c44178..af082cd 100644 --- a/docs/sdks/tdf.mdx +++ b/docs/sdks/tdf.mdx @@ -5,6 +5,6 @@ sidebar_position: 4 import EncryptionTDF from '../../code_samples/tdf/encryption_ztdf.mdx' -# Creating TDF's +# Creating TDFs \ No newline at end of file