Skip to content

Commit

Permalink
[APM] Remove readOnly from secret token field (#126535)
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes authored Mar 1, 2022
1 parent 556d0d0 commit f0639fe
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 f0639fe

Please sign in to comment.