Skip to content

Commit

Permalink
[APM] Remove readOnly from secret token field (#126535) (#126546)
Browse files Browse the repository at this point in the history
(cherry picked from commit f0639fe)

Co-authored-by: Cauê Marcondes <[email protected]>
  • Loading branch information
kibanamachine and cauemarcondes authored Mar 1, 2022
1 parent 4194b8f commit aa27b82
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ describe('apm-fleet-apm-integration', () => {
expect(secretToken).toEqual({
type: 'text',
key: 'secret_token',
readOnly: true,
labelAppend: 'Optional',
label: 'Secret token',
});
Expand All @@ -34,7 +33,6 @@ describe('apm-fleet-apm-integration', () => {
expect(secretToken).toEqual({
type: 'text',
key: 'secret_token',
readOnly: false,
labelAppend: 'Optional',
label: 'Secret token',
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export function getAgentAuthorizationSettings({
{
type: 'text',
key: 'secret_token',
readOnly: isCloudPolicy,
labelAppend: OPTIONAL_LABEL,
label: i18n.translate(
'xpack.apm.fleet_integration.settings.agentAuthorization.secretTokenLabel',
Expand Down

0 comments on commit aa27b82

Please sign in to comment.