Skip to content

Commit

Permalink
Merge pull request #7078 from Sachin-Mamoru/bug-fix
Browse files Browse the repository at this point in the history
Update secret management script editor placeholder
  • Loading branch information
Sachin-Mamoru authored Nov 4, 2024
2 parents 163f073 + 58710f5 commit 04e7c3e
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 12 deletions.
7 changes: 7 additions & 0 deletions .changeset/brown-wombats-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@wso2is/admin.authentication-flow-builder.v1": patch
"@wso2is/admin.applications.v1": patch
"@wso2is/i18n": patch
---

update secret management script editor placeholder
Original file line number Diff line number Diff line change
Expand Up @@ -874,10 +874,12 @@ export const ScriptBasedFlow: FunctionComponent<AdaptiveScriptsPropsInterface> =
"emptyPlaceholder.description"
}
>
Securely store access keys as secrets. A secret can
replace the consumer secret in <OxygenCode variant="caption">
callChoreo()</OxygenCode> function
in the conditional authentication scripts.
You can securely store sensitive information, such as
API keys and other secrets, for use in conditional
authentication scripts. Once stored, these secrets can
be referenced in your scripts using the syntax
<OxygenCode variant="caption">{ "secrets.{secret_name}" }
</OxygenCode>.
</Trans>
</Typography>
</ListItemText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,11 @@ const SecretSelectionDropdown = (props: SecretSelectionDropdownPropsInterface):
"emptyPlaceholder.description"
}
>
Securely store access keys as secrets. A secret can
replace the consumer secret in <Code variant="caption">
callChoreo()</Code> function
in the conditional authentication scripts.
You can securely store sensitive information, such as
API keys and other secrets, for use in conditional
authentication scripts. Once stored, these secrets can
be referenced in your scripts using the syntax <Code variant="caption">
{ "secrets.{secret_name}" }</Code>.
</Trans>
</Typography>
</ListItemText>
Expand Down
7 changes: 4 additions & 3 deletions modules/i18n/src/translations/en-US/portals/applications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -641,9 +641,10 @@ export const applications: ApplicationsNS = {
emptyPlaceholder: "No secrets available",
search: "Search by secret name",
tooltips: {
keyIcon: "Securely store access keys as secrets. A secret can " +
"replace the consumer secret in <1>callChoreo()</1> function " +
"in the conditional authentication scripts.",
keyIcon: "You can securely store sensitive information, such as " +
"API keys and other secrets, for use in conditional " +
"authentication scripts. Once stored, these secrets can " +
"be referenced in your scripts using the syntax <1>secrets.{secret name}</1>",
plusIcon: "Add to the script"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export const authenticationFlow: AuthenticationFlowNS = {
},
emptyPlaceholder: {
header: "No secrets available.",
description: "Securely store access keys as secrets. A secret can replace the consumer secret in <1>callChoreo()</1> function in the conditional authentication scripts."
description: "You can securely store sensitive information, such as API keys and other secrets, for use in conditional authentication scripts. Once stored, these secrets can be referenced in your scripts using the syntax <1>secrets.{secret name}</1>."
},
label: "Add Secret"
},
Expand Down

0 comments on commit 04e7c3e

Please sign in to comment.