mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 11:29:42 +00:00
Improve azure app connection docs
This commit is contained in:
+1
-1
@@ -209,7 +209,7 @@ export const AzureAppConfigurationConnectionForm = ({ appConnection, onSubmit }:
|
||||
tooltipText="The Azure Active Directory (Entra ID) Tenant ID."
|
||||
isError={Boolean(error?.message)}
|
||||
label="Tenant ID"
|
||||
isOptional
|
||||
isOptional={selectedMethod === AzureAppConfigurationConnectionMethod.OAuth}
|
||||
errorText={error?.message}
|
||||
>
|
||||
<Input
|
||||
|
||||
+1
-1
@@ -60,7 +60,7 @@ const formSchema = z.discriminatedUnion("method", [
|
||||
]);
|
||||
|
||||
type FormData = z.infer<typeof formSchema>;
|
||||
type OnSubmitForm = z.infer<typeof accessTokenSchema | typeof clientSecretSchema>;
|
||||
type OnSubmitForm = z.infer<typeof accessTokenSchema> | z.infer<typeof clientSecretSchema>;
|
||||
|
||||
type Props = {
|
||||
appConnection?: TAzureDevOpsConnection;
|
||||
|
||||
+1
-1
@@ -211,7 +211,7 @@ export const AzureKeyVaultConnectionForm = ({ appConnection, onSubmit }: Props)
|
||||
tooltipText="The Azure Active Directory (Entra ID) Tenant ID."
|
||||
isError={Boolean(error?.message)}
|
||||
label="Tenant ID"
|
||||
isOptional
|
||||
isOptional={selectedMethod === AzureKeyVaultConnectionMethod.OAuth}
|
||||
errorText={error?.message}
|
||||
>
|
||||
<Input
|
||||
|
||||
Reference in New Issue
Block a user