mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 14:28:35 +00:00
misc: improved helper text for GCP sa field
This commit is contained in:
+9
-3
@@ -114,9 +114,8 @@ export const GcpConnectionForm = ({ appConnection, onSubmit }: Props) => {
|
|||||||
className="group"
|
className="group"
|
||||||
helperText={
|
helperText={
|
||||||
<>
|
<>
|
||||||
<span>
|
<div>
|
||||||
{`Service account ID (the part of the email before '@') must be suffixed with "${expectedAccountIdSuffix}"`}
|
{`Service account ID must be suffixed with "${expectedAccountIdSuffix}"`}
|
||||||
</span>
|
|
||||||
<Tooltip className="relative right-2" position="bottom" content="Copy">
|
<Tooltip className="relative right-2" position="bottom" content="Copy">
|
||||||
<IconButton
|
<IconButton
|
||||||
variant="plain"
|
variant="plain"
|
||||||
@@ -144,6 +143,13 @@ export const GcpConnectionForm = ({ appConnection, onSubmit }: Props) => {
|
|||||||
/>
|
/>
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
Example:
|
||||||
|
<span className="ml-1 font-semibold">
|
||||||
|
{`service-account-${expectedAccountIdSuffix}@my-project.iam.gserviceaccount.com`}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user