Added required to required fields

This commit is contained in:
Daniel Hougaard
2023-12-23 15:29:08 +04:00
parent 0a2b078bdc
commit b83964051c
+13 -13
View File
@@ -169,13 +169,13 @@ By default, `getSecret()` fetches and returns a shared secret.
<ParamField query="Parameters" type="object" optional> <ParamField query="Parameters" type="object" optional>
<Expandable title="properties"> <Expandable title="properties">
<ParamField query="secretName" type="string"> <ParamField query="secretName" type="string" required>
The key of the secret to retrieve. The key of the secret to retrieve.
</ParamField> </ParamField>
<ParamField query="projectId" type="string"> <ParamField query="projectId" type="string" required>
The project ID where the secret lives in. The project ID where the secret lives in.
</ParamField> </ParamField>
<ParamField query="environment" type="string"> <ParamField query="environment" type="string" required>
The slug name (dev, prod, etc) of the environment from where secrets should be fetched from. The slug name (dev, prod, etc) of the environment from where secrets should be fetched from.
</ParamField> </ParamField>
<ParamField query="path" type="string" optional> <ParamField query="path" type="string" optional>
@@ -204,16 +204,16 @@ Create a new secret in Infisical.
<ParamField query="Parameters" type="object" optional> <ParamField query="Parameters" type="object" optional>
<Expandable title="properties"> <Expandable title="properties">
<ParamField query="secretName" type="string"> <ParamField query="secretName" type="string" required>
The key of the secret to create. The key of the secret to create.
</ParamField> </ParamField>
<ParamField query="secretValue" type="string"> <ParamField query="secretValue" type="string" required>
The value of the secret. The value of the secret.
</ParamField> </ParamField>
<ParamField query="projectId" type="string"> <ParamField query="projectId" type="string" required>
The project ID where the secret lives in. The project ID where the secret lives in.
</ParamField> </ParamField>
<ParamField query="environment" type="string"> <ParamField query="environment" type="string" required>
The slug name (dev, prod, etc) of the environment from where secrets should be fetched from. The slug name (dev, prod, etc) of the environment from where secrets should be fetched from.
</ParamField> </ParamField>
<ParamField query="path" type="string" optional> <ParamField query="path" type="string" optional>
@@ -244,16 +244,16 @@ Update an existing secret in Infisical.
<ParamField query="Parameters" type="object" optional> <ParamField query="Parameters" type="object" optional>
<Expandable title="properties"> <Expandable title="properties">
<ParamField query="secretName" type="string"> <ParamField query="secretName" type="string" required>
The key of the secret to update. The key of the secret to update.
</ParamField> </ParamField>
<ParamField query="secretValue" type="string"> <ParamField query="secretValue" type="string" required>
The new value of the secret. The new value of the secret.
</ParamField> </ParamField>
<ParamField query="projectId" type="string"> <ParamField query="projectId" type="string" required>
The project ID where the secret lives in. The project ID where the secret lives in.
</ParamField> </ParamField>
<ParamField query="environment" type="string"> <ParamField query="environment" type="string" required>
The slug name (dev, prod, etc) of the environment from where secrets should be fetched from. The slug name (dev, prod, etc) of the environment from where secrets should be fetched from.
</ParamField> </ParamField>
<ParamField query="path" type="string" optional> <ParamField query="path" type="string" optional>
@@ -286,10 +286,10 @@ Delete a secret in Infisical.
<ParamField query="secretName" type="string"> <ParamField query="secretName" type="string">
The key of the secret to update. The key of the secret to update.
</ParamField> </ParamField>
<ParamField query="projectId" type="string"> <ParamField query="projectId" type="string" required>
The project ID where the secret lives in. The project ID where the secret lives in.
</ParamField> </ParamField>
<ParamField query="environment" type="string"> <ParamField query="environment" type="string" required>
The slug name (dev, prod, etc) of the environment from where secrets should be fetched from. The slug name (dev, prod, etc) of the environment from where secrets should be fetched from.
</ParamField> </ParamField>
<ParamField query="path" type="string" optional> <ParamField query="path" type="string" optional>