mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
feat(dynamic-secret): Add tags to AWS IAM docs and add aws key-value limits to the schema
This commit is contained in:
@@ -161,6 +161,11 @@ Replace **\<account id\>** with your AWS account id and **\<aws-scope-path\>** w
|
|||||||
{{replace identity.name 'user' 'replace'}} // testreplace
|
{{replace identity.name 'user' 'replace'}} // testreplace
|
||||||
```
|
```
|
||||||
</ParamField>
|
</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>
|
<ParamField path="Method" type="string" required>
|
||||||
Select *Assume Role* method.
|
Select *Assume Role* method.
|
||||||
</ParamField>
|
</ParamField>
|
||||||
@@ -304,6 +309,10 @@ Replace **\<account id\>** with your AWS account id and **\<aws-scope-path\>** w
|
|||||||
- `{{unixTimestamp}}`: Current Unix timestamp
|
- `{{unixTimestamp}}`: Current Unix timestamp
|
||||||
</ParamField>
|
</ParamField>
|
||||||
|
|
||||||
|
<ParamField path="Tags" type="map[string]string">
|
||||||
|
Tags to be added to the created IAM User resource.
|
||||||
|
</ParamField>
|
||||||
|
|
||||||
</Step>
|
</Step>
|
||||||
|
|
||||||
<Step title="Click 'Submit'">
|
<Step title="Click 'Submit'">
|
||||||
|
|||||||
@@ -71,7 +71,9 @@ const formSchema = z.object({
|
|||||||
environment: z.object({ name: z.string(), slug: z.string() }),
|
environment: z.object({ name: z.string(), slug: z.string() }),
|
||||||
usernameTemplate: z.string().nullable().optional(),
|
usernameTemplate: z.string().nullable().optional(),
|
||||||
tags: z
|
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()
|
.optional()
|
||||||
});
|
});
|
||||||
type TForm = z.infer<typeof formSchema>;
|
type TForm = z.infer<typeof formSchema>;
|
||||||
|
|||||||
Reference in New Issue
Block a user