Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat(dynamic-secret): Add tags to AWS IAM docs and add aws key-value limits to the schema
carlosmonastyrskib790dbb36f9f
diff --git a/docs/documentation/platform/dynamic-secrets/aws-iam.mdx b/docs/documentation/platform/dynamic-secrets/aws-iam.mdxindex a02d80a5c2..03bc5df843 100644--- a/docs/documentation/platform/dynamic-secrets/aws-iam.mdx+++ b/docs/documentation/platform/dynamic-secrets/aws-iam.mdx@@ -161,6 +161,11 @@ Replace **\<account id\>** with your AWS account id and **\<aws-scope-path\>** w{{replace identity.name 'user' 'replace'}} // testreplace```</ParamField>++ <ParamField path="Tags" type="map<string, string>[]">+ Tags to be added to the created IAM User resource.+ </ParamField>+<ParamField path="Method" type="string" required>Select *Assume Role* method.</ParamField>@@ -304,6 +309,10 @@ Replace **\<account id\>** with your AWS account id and **\<aws-scope-path\>** w- `{{unixTimestamp}}`: Current Unix timestamp</ParamField>+ <ParamField path="Tags" type="map[string]string">+ Tags to be added to the created IAM User resource.+ </ParamField>+</Step><Step title="Click 'Submit'">diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/ActionBar/CreateDynamicSecretForm/AwsIamInputForm.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/ActionBar/CreateDynamicSecretForm/AwsIamInputForm.tsxindex 60bfa63049..f0750e07e5 100644--- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/ActionBar/CreateDynamicSecretForm/AwsIamInputForm.tsx+++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/ActionBar/CreateDynamicSecretForm/AwsIamInputForm.tsx@@ -71,7 +71,9 @@ const formSchema = z.object({environment: z.object({ name: z.string(), slug: z.string() }),usernameTemplate: z.string().nullable().optional(),tags: z- .array(z.object({ key: z.string().trim().min(1), value: z.string().trim().min(1) }))+ .array(+ z.object({ key: z.string().trim().min(1).max(128), value: z.string().trim().min(1).max(256) })+ ).optional()});type TForm = z.infer<typeof formSchema>;